Abstract Class: BaseError
Defined in: projects/shapeshift/src/lib/errors/BaseError.ts:7
Extends
Extended by
CombinedErrorCombinedPropertyErrorMissingPropertyErrorUnknownEnumValueErrorUnknownPropertyErrorValidationErrorBaseConstraintError
Constructors
Constructor
new BaseError(
message?:string):BaseError
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
| Parameter | Type |
|---|---|
message? | string |
Returns
BaseError
Inherited from
Error.constructor
Constructor
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
BaseError
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]()
abstractprotected[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