Class: ApiError
Last updated
Last updated
@torque-labs/torque-utils • Docs
@torque-labs/torque-utils / ApiError
Error
Parameters
Parameter | Type |
---|---|
Returns
Overrides
Error.constructor
Defined in
Create .stack property on a target object
Parameters
Returns
void
Inherited from
Error.captureStackTrace
Defined in
node_modules/@types/node/globals.d.ts:91
Property | Type | Description | Overrides | Inherited from |
---|---|---|---|---|
Parameter | Type |
---|---|
__namedParameters
object
__namedParameters.cause
?
any
__namedParameters.data
?
any
__namedParameters.message
string
__namedParameters.name
cause
any
-
Error.cause
-
code
number
-
-
-
data
any
-
-
-
message
string
-
Error.message
-
name
-
Error.name
-
stack?
string
-
-
Error.stack
prepareStackTrace?
(err
: Error
, stackTraces
: CallSite
[]) => any
Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces
-
Error.prepareStackTrace
stackTraceLimit
number
-
-
Error.stackTraceLimit
targetObject
object
constructorOpt
?
Function