FunctionApiError
OCP App SDK / FunctionApiError
FunctionApiError
Error thrown when function api interaction fails
Hierarchy
Error
.FunctionApiError
Index
Constructors
Properties
Methods
Constructors
constructor()
Signature
new FunctionApiError(message?: string): FunctionApiError;
Parameters
Name | Type |
---|---|
message? | string |
Returns
Inherited from: Error.constructor
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1059
Properties
message
string
Inherited from: Error.message
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1054
name
string
Inherited from: Error.name
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1053
stack?
string
Inherited from: Error.stack
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1055
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: Error.prepareStackTrace
Defined in: node_modules/@types/node/globals.d.ts:11
stackTraceLimit
Static
number
Inherited from: Error.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: Error.captureStackTrace
Defined in: node_modules/@types/node/globals.d.ts:4
Updated 12 months ago