Class: abstract
BaseError
Extends
Extended by
CombinedError
CombinedPropertyError
MissingPropertyError
UnknownEnumValueError
UnknownPropertyError
ValidationError
BaseConstraintError
Constructors
new BaseError()
new BaseError(
message
?:string
):BaseError
Parameters
Parameter | Type |
---|---|
message ? | string |
Returns
Inherited from
Error.constructor
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1082
new BaseError()
new BaseError(
message
?:string
,options
?:ErrorOptions
):BaseError
Parameters
Parameter | Type |
---|---|
message ? | string |
options ? | ErrorOptions |
Returns
Inherited from
Error.constructor
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1082
Methods
[customInspectSymbol]()
protected
[customInspectSymbol](depth
:number
,options
:InspectOptionsStylized
):string
Parameters
Parameter | Type |
---|---|
depth | number |
options | InspectOptionsStylized |
Returns
string
Defined in
projects/shapeshift/src/lib/errors/BaseError.ts:15
[customInspectSymbolStackLess]()
abstract
protected
[customInspectSymbolStackLess](depth
:number
,options
:InspectOptionsStylized
):string
Parameters
Parameter | Type |
---|---|
depth | number |
options | InspectOptionsStylized |
Returns
string
Defined in
projects/shapeshift/src/lib/errors/BaseError.ts:19
toJSON()
toJSON():
BaseErrorJsonified