Skip to main content

Class: CombinedError

Defined in: projects/shapeshift/src/lib/errors/CombinedError.ts:5

Extends​

Constructors​

Constructor​

new CombinedError(errors: readonly BaseError[], validatorOptions?: ValidatorOptions): CombinedError

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

Parameters​

ParameterType
errorsreadonly BaseError[]
validatorOptions?ValidatorOptions

Returns​

CombinedError

Overrides​

BaseError.constructor

Properties​

errors​

readonly errors: readonly BaseError[]

Defined in: projects/shapeshift/src/lib/errors/CombinedError.ts:6

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

Inherited from​

BaseError.[customInspectSymbol]


[customInspectSymbolStackLess]()​

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

Defined in: projects/shapeshift/src/lib/errors/CombinedError.ts:14

Parameters​

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns​

string

Overrides​

BaseError.[customInspectSymbolStackLess]


toJSON()​

toJSON(): BaseErrorJsonified

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

Returns​

BaseErrorJsonified

Inherited from​

BaseError.toJSON