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
| Parameter | Type | 
|---|---|
| property | PropertyKey | 
| value | unknown | 
| options? | ValidatorOptions | 
Returns
UnknownPropertyError
Overrides
Properties
property
readonlyproperty:PropertyKey
Defined in: projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:7
value
readonlyvalue: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
| Parameter | Type | 
|---|---|
| depth | number | 
| options | InspectOptionsStylized | 
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
| Parameter | Type | 
|---|---|
| depth | number | 
| options | InspectOptionsStylized | 
Returns
string
Overrides
BaseError.[customInspectSymbolStackLess]
toJSON()
toJSON():
UnknownEnumKeyErrorJsonified
Defined in: projects/shapeshift/src/lib/errors/UnknownPropertyError.ts:17