Skip to main content

Class: CombinedError

Extends

Constructors

new CombinedError()

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

Parameters

ParameterType
errorsreadonly BaseError[]
validatorOptions?ValidatorOptions

Returns

CombinedError

Overrides

BaseError.constructor

Defined in

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

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Inherited from

BaseError.[customInspectSymbol]

Defined in

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


[customInspectSymbolStackLess]()

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Overrides

BaseError.[customInspectSymbolStackLess]

Defined in

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


toJSON()

toJSON(): BaseErrorJsonified

Returns

BaseErrorJsonified

Inherited from

BaseError.toJSON

Defined in

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