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?
optionalcause:Error
Inherited from
Defined in
packages/core/src/model/StorageException.ts:4
code?
optionalcode: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?
optionalstack:string
Inherited from
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace()?
staticoptionalprepareStackTrace: (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
staticstackTraceLimit:number
Inherited from
StorageException.stackTraceLimit
Defined in
node_modules/@types/node/globals.d.ts:13
Methods
captureStackTrace()
staticcaptureStackTrace(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