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

Defined in

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

Properties

property

readonly property: PropertyKey

Defined in

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]

Defined in

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]

Defined in

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


toJSON()

toJSON(): MissingPropertyErrorJsonified

Returns

MissingPropertyErrorJsonified

Overrides

BaseError.toJSON

Defined in

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