1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 09:24:35 +00:00

chore(error): removed extra prefix of Error:

This commit is contained in:
Saad Jutt
2022-04-08 14:13:41 +05:00
parent e4d4b3142f
commit 9cf0165cf7

View File

@@ -4,7 +4,7 @@ const instructionsToFix =
export class CertificateError extends Error {
constructor(message: string) {
super(
`Error: ${message}\nPlease visit the link below for further information on this issue:\n- ${instructionsToFix}\n`
`${message}\nPlease visit the link below for further information on this issue:\n- ${instructionsToFix}\n`
)
this.name = 'CertificateError'
Object.setPrototypeOf(this, CertificateError.prototype)