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
Source
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:10
Properties
property
readonlyproperty:PropertyKey
Source
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:7
value
readonlyvalue:unknown
Source
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:8
Methods
[customInspectSymbolStackLess]()
protected[customInspectSymbolStackLess](depth:number,options:InspectOptionsStylized):string
Parameters
| Parameter | Type |
|---|---|
depth | number |
options | InspectOptionsStylized |
Returns
string
Overrides
BaseError . [customInspectSymbolStackLess]
Source
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:26
[customInspectSymbol]()
protected[customInspectSymbol](depth:number,options:InspectOptionsStylized):string
Parameters
| Parameter | Type |
|---|---|
depth | number |
options | InspectOptionsStylized |
Returns
string
Inherited from
BaseError . [customInspectSymbol]
Source
projects/shapeshift/src/lib/errors/BaseError.ts:15
toJSON()
toJSON():
UnknownEnumKeyErrorJsonified
Returns
Overrides
Source
projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:17