1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-17 17:10:05 +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 { export class CertificateError extends Error {
constructor(message: string) { constructor(message: string) {
super( 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' this.name = 'CertificateError'
Object.setPrototypeOf(this, CertificateError.prototype) Object.setPrototypeOf(this, CertificateError.prototype)