Class: UnknownPropertyError
Extends
Constructors
new UnknownPropertyError()
new UnknownPropertyError(
property
:PropertyKey
,value
:unknown
,options
?:ValidatorOptions
):UnknownPropertyError
Parameters
Parameter | Type |
---|---|
property | PropertyKey |
value | unknown |
options ? | ValidatorOptions |
Returns
Overrides
Defined in
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:10
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
Parameters
Parameter | Type |
---|---|
depth | number |
options | InspectOptionsStylized |
Returns
string
Inherited from
BaseError
.[customInspectSymbol]
Defined in
projects/shapeshift/src/lib/errors/BaseError.ts:15
[customInspectSymbolStackLess]()
protected
[customInspectSymbolStackLess](depth
:number
,options
:InspectOptionsStylized
):string
Parameters
Parameter | Type |
---|---|
depth | number |
options | InspectOptionsStylized |
Returns
string
Overrides
BaseError
.[customInspectSymbolStackLess]
Defined in
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:26
toJSON()
toJSON():
UnknownEnumKeyErrorJsonified
Returns
Overrides
Defined in
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:17