Class: MissingPropertyError
Extends
Constructors
new MissingPropertyError()
new MissingPropertyError(
property
:PropertyKey
,validatorOptions
?:ValidatorOptions
):MissingPropertyError
Parameters
Parameter | Type |
---|---|
property | PropertyKey |
validatorOptions ? | ValidatorOptions |
Returns
Overrides
Defined in
projects/shapeshift/src/lib/errors/MissingPropertyError.ts:9
Properties
property
readonly
property:PropertyKey
Defined in
projects/shapeshift/src/lib/errors/MissingPropertyError.ts:7
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/MissingPropertyError.ts:22
toJSON()
toJSON():
MissingPropertyErrorJsonified
Returns
Overrides
Defined in
projects/shapeshift/src/lib/errors/MissingPropertyError.ts:14