Skip to main content

Class: DeveloperErrorException

Extends​

Constructors​

new DeveloperErrorException()​

new DeveloperErrorException(message, cause?): DeveloperErrorException

Parameters​

• message: string

• cause?: Error

Returns​

DeveloperErrorException

Overrides​

StorageException.constructor

Defined in​

packages/core/src/model/StorageException.ts:21

Properties​

cause?​

optional cause: Error

Inherited from​

StorageException.cause

Defined in​

packages/core/src/model/StorageException.ts:4


message​

message: string

Inherited from​

StorageException.message

Defined in​

docs/node_modules/typescript/lib/lib.es5.d.ts:1077


name​

name: string

Inherited from​

StorageException.name

Defined in​

docs/node_modules/typescript/lib/lib.es5.d.ts:1076


stack?​

optional stack: string

Inherited from​

StorageException.stack

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