Skip to content

LockNotAcquiredError

Defined in: packages/async/src/synchro/ilock.ts:4

Error thrown when attempting to release a lock that is not currently held.

  • Error

new LockNotAcquiredError(message?): LockNotAcquiredError

Defined in: packages/async/src/synchro/ilock.ts:5

string

LockNotAcquiredError

Error.constructor

optional cause?: unknown

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.es2022.error.d.ts:24

Error.cause


message: string

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.es5.d.ts:1075

Error.message


name: string

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.es5.d.ts:1074

Error.name


optional stack?: string

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.es5.d.ts:1076

Error.stack

static isError(error): error is Error

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.esnext.error.d.ts:21

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

Error.isError