1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-15 16:10:06 +00:00

chore: updated error message

This commit is contained in:
Saad Jutt
2022-04-08 00:01:15 +05:00
parent a87be39b44
commit e4d4b3142f

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 below link to resolve this issue:\n- ${instructionsToFix}\n` `Error: ${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)