@celo/base"result"RootError

Class: RootError <T>

Type parameters

T

Hierarchy

RootError

JSONParseError

Implements

Index

Constructors

Properties

Constructors

constructor

+ new RootError(errorType: T): RootError

Defined in packages/sdk/base/src/result.ts:66

Parameters:

Name Type
errorType T

Returns: RootError

Properties

Readonly errorType

errorType: T

Implementation of BaseError.errorType

Defined in packages/sdk/base/src/result.ts:67


message

message: string

Inherited from RootError.message

Defined in node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string

Inherited from RootError.name

Defined in node_modules/typescript/lib/lib.es5.d.ts:973


Optional stack

stack? : undefined | string

Inherited from RootError.stack

Overrides RootError.stack

Defined in node_modules/typescript/lib/lib.es5.d.ts:975


Static Error

Error: ErrorConstructor

Defined in node_modules/typescript/lib/lib.es5.d.ts:984