Class: ValidationError
Extends
Extended by
Constructors
new ValidationError()
new ValidationError(
validator:string,message:string,given:unknown):ValidationError
Parameters
| Parameter | Type |
|---|---|
validator | string |
message | string |
given | unknown |
Returns
Overrides
Source
projects/shapeshift/src/lib/errors/ValidationError.ts:9
Properties
given
readonlygiven:unknown
Source
projects/shapeshift/src/lib/errors/ValidationError.ts:7
validator
readonlyvalidator:string
Source
projects/shapeshift/src/lib/errors/ValidationError.ts:6
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/ValidationError.ts:25
[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():
ValidationErrorJsonified