Optional
code: stringOptional
config: ErrorConfigOptional
causeOptional
codeOptional
configOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
Optional override for formatting stack traces
Static
stackStatic
captureStatic
fromOptional
code: stringOptional
config: ErrorConfigOptional
customProps: CustomPropsGenerated using TypeDoc
Create an Error with the specified message, config, error code, request, and response.
Param: message
The error message.
Param: code
The error code (for example, 'ECONNABORTED').
Param: config
The config.