Skip to main content

Class: CombinedPropertyError

Extends

Constructors

new CombinedPropertyError()

new CombinedPropertyError(errors: [PropertyKey, BaseError][], validatorOptions?: ValidatorOptions): CombinedPropertyError

Parameters

ParameterType
errors[PropertyKey, BaseError][]
validatorOptions?ValidatorOptions

Returns

CombinedPropertyError

Overrides

BaseError . constructor

Source

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

Properties

errors

readonly errors: [PropertyKey, BaseError][]

Source

projects/shapeshift/src/lib/errors/CombinedPropertyError.ts:6

Methods

[customInspectSymbolStackLess]()

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Overrides

BaseError . [customInspectSymbolStackLess]

Source

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


[customInspectSymbol]()

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Inherited from

BaseError . [customInspectSymbol]

Source

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


toJSON()

toJSON(): BaseErrorJsonified

Returns

BaseErrorJsonified

Inherited from

BaseError . toJSON

Source

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


formatProperty()

static private formatProperty(key: PropertyKey, options: InspectOptionsStylized): string

Parameters

ParameterType
keyPropertyKey
optionsInspectOptionsStylized

Returns

string

Source

projects/shapeshift/src/lib/errors/CombinedPropertyError.ts:36