chore: error message dots
This commit is contained in:
parent
e7a57c9aa1
commit
a1f096018c
@ -7,7 +7,7 @@ export class DecryptionError extends Error {
|
||||
super()
|
||||
|
||||
if (inputError.message.toLowerCase().includes('expected')) {
|
||||
this.message = `The decryption key length or format is invalid`
|
||||
this.message = `The decryption key length or format is invalid.`
|
||||
} else if (inputError.message.includes('The JWK "alg" member was inconsistent')) {
|
||||
this.message = `The decryption key is invalid.`
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user