Skip to main content

Class: UnknownPropertyError

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

Extends​

Constructors​

Constructor​

new UnknownPropertyError(property: PropertyKey, value: unknown, options?: ValidatorOptions): UnknownPropertyError

Defined in: projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:10

Parameters​

ParameterType
propertyPropertyKey
valueunknown
options?ValidatorOptions

Returns​

UnknownPropertyError

Overrides​

BaseError.constructor

Properties​

property​

readonly property: PropertyKey

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


value​

readonly value: unknown

Defined in: projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:8

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/UnknownPropertyError.ts:26

Parameters​

ParameterType
depthnumber
optionsInspectOptionsStylized

Returns​

string

Overrides​

BaseError.[customInspectSymbolStackLess]


toJSON()​

toJSON(): UnknownEnumKeyErrorJsonified

Defined in: projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:17

Returns​

UnknownEnumKeyErrorJsonified

Overrides​

BaseError.toJSON