Skip to main content

Abstract Class: BaseError

Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:7

Extends​

Extended by​

Constructors​

Constructor​

new BaseError(message?: string): BaseError

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

Parameters​

ParameterType
message?string

Returns​

BaseError

Inherited from​

Error.constructor

Constructor​

new BaseError(message?: string, options?: ErrorOptions): BaseError

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

Parameters​

ParameterType
message?string
options?ErrorOptions

Returns​

BaseError

Inherited from​

Error.constructor

Methods​

[customInspectSymbol]()​

protected [customInspectSymbol](depth: number, options: InspectOptionsStylized): string

Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:15

Parameters​

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns​

string


[customInspectSymbolStackLess]()​

abstract protected [customInspectSymbolStackLess](depth: number, options: InspectOptionsStylized): string

Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:19

Parameters​

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns​

string


toJSON()​

toJSON(): BaseErrorJsonified

Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:8

Returns​

BaseErrorJsonified