Skip to main content

Class: MissingPropertyError

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

Extends

Constructors

new MissingPropertyError()

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

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

Parameters

ParameterType
propertyPropertyKey
validatorOptions?ValidatorOptions

Returns

MissingPropertyError

Overrides

BaseError.constructor

Properties

property

readonly property: PropertyKey

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

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/MissingPropertyError.ts:22

Parameters

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns

string

Overrides

BaseError.[customInspectSymbolStackLess]


toJSON()

toJSON(): MissingPropertyErrorJsonified

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

Returns

MissingPropertyErrorJsonified

Overrides

BaseError.toJSON