ApiError
ODP Node SDK / Zaius / ApiError
ApiError
Hierarchy
- HttpError.ApiError
Index
Constructors
Properties
Methods
Constructors
constructor()
Signature
new ApiError(source: HttpError): ApiError;Parameters
Name | Type |
|---|---|
source |
Returns
Overrides: HttpError.constructor
Defined in: src/Api/lib/ApiError.ts:4
Properties
code?
Defined in: src/Api/lib/ApiV3.ts:95
message
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1041
name
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1040
response?
Defined in: src/Api/lib/ApiV3.ts:95
stack?
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1042
prepareStackTrace?
Type declaration
Optional override for formatting stack traces
See
Signature
(err: Error, stackTraces: CallSite[]): any;Parameters
Name | Type |
|---|---|
err | Error |
stackTraces | CallSite[] |
Returns
any
Inherited from: HttpError.prepareStackTrace
Defined in: node_modules/@types/node/globals.d.ts:11
stackTraceLimit
Inherited from: HttpError.stackTraceLimit
Defined in: node_modules/@types/node/globals.d.ts:13
Methods
captureStackTrace()
Create .stack property on a target object
Signature
Static captureStackTrace(targetObject: object, constructorOpt?: Function): void;Parameters
Name | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from: HttpError.captureStackTrace
Defined in: node_modules/@types/node/globals.d.ts:4