@celo/encrypted-backup › "errors" › EncryptionError
Class: EncryptionError
Hierarchy
- RootError‹ENCRYPTION_ERROR›
↳ EncryptionError
Implements
- BaseError‹ENCRYPTION_ERROR›
Index
Constructors
Properties
Constructors
constructor
+ new EncryptionError(error?
: Error): EncryptionError
Overrides void
Defined in packages/sdk/encrypted-backup/src/errors.ts:38
Parameters:
Name | Type |
---|---|
error? |
Error |
Returns: EncryptionError
Properties
Optional
Readonly
error
• error? : Error
Defined in packages/sdk/encrypted-backup/src/errors.ts:39
Readonly
errorType
• errorType: ENCRYPTION_ERROR
Inherited from AuthorizationError.errorType
Defined in packages/sdk/base/lib/result.d.ts:19
message
• message: string
Inherited from AuthorizationError.message
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Inherited from AuthorizationError.name
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
Optional
stack
• stack? : undefined | string
Inherited from AuthorizationError.stack
Defined in node_modules/typescript/lib/lib.es5.d.ts:975