@celo/encrypted-backup"errors"UsageError

Class: UsageError

Hierarchy

UsageError

Implements

Index

Constructors

Properties

Constructors

constructor

+ new UsageError(error?: Error): UsageError

Overrides void

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

Parameters:

Name Type
error? Error

Returns: UsageError

Properties

Optional Readonly error

error? : Error

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


Readonly errorType

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