@celo/encrypted-backup"errors"AuthorizationError

Class: AuthorizationError

Hierarchy

AuthorizationError

Implements

Index

Constructors

Properties

Constructors

constructor

+ new AuthorizationError(error?: Error): AuthorizationError

Overrides void

Defined in packages/sdk/encrypted-backup/src/errors.ts:20

Parameters:

Name Type
error? Error

Returns: AuthorizationError

Properties

Optional Readonly error

error? : Error

Defined in packages/sdk/encrypted-backup/src/errors.ts:21


Readonly errorType

errorType: AUTHORIZATION_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