Skip to main content

Class: MissingPropertyError

Extends

Constructors

new MissingPropertyError()

new MissingPropertyError(property: PropertyKey, validatorOptions?: ValidatorOptions): MissingPropertyError

Parameters

ParameterType
propertyPropertyKey
validatorOptions?ValidatorOptions

Returns

MissingPropertyError

Overrides

BaseError . constructor

Source

projects/shapeshift/src/lib/errors/MissingPropertyError.ts:9

Properties

property

readonly property: PropertyKey

Source

projects/shapeshift/src/lib/errors/MissingPropertyError.ts:7

Methods

[customInspectSymbolStackLess]()

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

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Overrides

BaseError . [customInspectSymbolStackLess]

Source

projects/shapeshift/src/lib/errors/MissingPropertyError.ts:22


[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(): MissingPropertyErrorJsonified

Returns

MissingPropertyErrorJsonified

Overrides

BaseError . toJSON

Source

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