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