Skip to main content

Class: abstract BaseError

Extends

Extended by

Constructors

new BaseError()

new BaseError(message?: string): BaseError

Parameters

ParameterType
message?string

Returns

BaseError

Inherited from

Error.constructor

Defined in

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

new BaseError()

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

Parameters

ParameterType
message?string
options?ErrorOptions

Returns

BaseError

Inherited from

Error.constructor

Defined in

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

Methods

[customInspectSymbolStackLess]()

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Defined in

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


[customInspectSymbol]()

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Defined in

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


toJSON()

toJSON(): BaseErrorJsonified

Returns

BaseErrorJsonified

Defined in

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