Skip to main content

Class: DamoaBridgeError

Hierarchy​

  • Error

    ↳ DamoaBridgeError

Constructors​

constructor​

• new DamoaBridgeError(params)

Parameters​

NameType
paramsDamoaBridgeErrorParams

Overrides​

Error.constructor

Defined in​

message/shared/model/DamoaBridgeError.ts:15

Methods​

captureStackTrace​

▸ Static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters​

NameType
targetObjectobject
constructorOpt?Function

Returns​

void

Inherited from​

Error.captureStackTrace

Defined in​

node_modules/@types/node/globals.d.ts:4


isAsyncTimeOutError​

▸ Static isAsyncTimeOutError(error): boolean

Parameters​

NameType
errorDamoaBridgeError

Returns​

boolean

Defined in​

message/shared/model/DamoaBridgeError.ts:30


isDamoaBridgeError​

▸ Static isDamoaBridgeError(error): error is DamoaBridgeError

Parameters​

NameType
errorunknown

Returns​

error is DamoaBridgeError

Defined in​

message/shared/model/DamoaBridgeError.ts:22


isNotSupportedError​

▸ Static isNotSupportedError(error): boolean

Parameters​

NameType
errorDamoaBridgeError

Returns​

boolean

Defined in​

message/shared/model/DamoaBridgeError.ts:26

Properties​

cause​

• Optional cause: unknown

Inherited from​

Error.cause

Defined in​

document/node_modules/typescript/lib/lib.es2022.error.d.ts:26


code​

• Optional code: DamoaBridgeErrorCode

Defined in​

message/shared/model/DamoaBridgeError.ts:13


message​

• message: string

Inherited from​

Error.message

Defined in​

document/node_modules/typescript/lib/lib.es5.d.ts:1054


name​

• name: string

Inherited from​

Error.name

Defined in​

document/node_modules/typescript/lib/lib.es5.d.ts:1053


stack​

• Optional stack: string

Inherited from​

Error.stack

Defined in​

document/node_modules/typescript/lib/lib.es5.d.ts:1055


prepareStackTrace​

▪ Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration​

▸ (err, stackTraces): any

Optional override for formatting stack traces

Parameters​
NameType
errError
stackTracesCallSite[]
Returns​

any

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from​

Error.prepareStackTrace

Defined in​

node_modules/@types/node/globals.d.ts:11


stackTraceLimit​

▪ Static stackTraceLimit: number

Inherited from​

Error.stackTraceLimit

Defined in​

node_modules/@types/node/globals.d.ts:13