Class: ApiException
Extends
Constructors
new ApiException()
new ApiException(
message
,code
?,cause
?):ApiException
Parameters
• message: string
• code?: number
• cause?: Error
Returns
Overrides
Defined in
packages/core/src/model/StorageException.ts:29
Properties
cause?
optional
cause:Error
Inherited from
Defined in
packages/core/src/model/StorageException.ts:4
code?
optional
code:number
Defined in
packages/core/src/model/StorageException.ts:27
message
message:
string
Inherited from
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1077
name
name:
string
Inherited from
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?
optional
stack:string
Inherited from
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace()?
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Optional override for formatting stack traces
Parameters
• err: Error
• stackTraces: CallSite
[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
StorageException
.prepareStackTrace
Defined in
node_modules/@types/node/globals.d.ts:11
stackTraceLimit
static
stackTraceLimit:number
Inherited from
StorageException
.stackTraceLimit
Defined in
node_modules/@types/node/globals.d.ts:13
Methods
captureStackTrace()
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
Parameters
• targetObject: object
• constructorOpt?: Function
Returns
void
Inherited from
StorageException
.captureStackTrace
Defined in
node_modules/@types/node/globals.d.ts:4