ApiRelationExistsError
ODP Node SDK / ODP / ApiRelationExistsError
ApiRelationExistsError
Hierarchy
ApiError
.ApiRelationExistsError
Index
Constructors
Properties
Methods
Constructors
constructor()
Signature
new ApiRelationExistsError(source: HttpError): ApiRelationExistsError;
Parameters
Name | Type |
---|---|
source | HttpError |
Returns
Inherited from: ApiError.constructor
Defined in: src/Api/lib/ApiError.ts:4
Properties
code?
string
Defined in: src/Api/lib/ApiV3.ts:78
message
string
Inherited from: ApiError.message
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1041
name
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1040
response?
Inherited from: ApiError.response
Defined in: src/Api/lib/ApiV3.ts:79
stack?
string
Inherited from: ApiError.stack
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1042
prepareStackTrace?
Function
Type declaration
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Signature
(err: Error, stackTraces: CallSite[]): any;
Parameters
Name | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
Returns
any
Inherited from: ApiError.prepareStackTrace
Defined in: node_modules/@types/node/globals.d.ts:11
stackTraceLimit
Static
number
Inherited from: ApiError.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: ApiError.captureStackTrace
Defined in: node_modules/@types/node/globals.d.ts:4
Updated 18 days ago