Class: LockDeniedError
Defined in: netconf/src/operations/transaction.ts:112
A lock was refused because another session holds it (lock-denied).
Extends
Extended by
Constructors
Constructor
new LockDeniedError(
datastore,
holder,
cause,
cleanupErrors?
): LockDeniedError;Defined in: netconf/src/operations/transaction.ts:121
Parameters
datastore
"running" | "candidate"
holder
number | undefined
cause
cleanupErrors?
readonly unknown[] = []
Returns
LockDeniedError
Overrides
Properties
cleanupErrors
readonly cleanupErrors: readonly unknown[];Defined in: netconf/src/operations/transaction.ts:97
Errors from discard-changes or unlock while cleaning up. They never replace the original error.
Inherited from
TransactionError.cleanupErrors
code
readonly code: string = 'ERR_NETCONF_LOCK_DENIED';Defined in: netconf/src/operations/transaction.ts:115
Stable, machine-readable error code.
Overrides
datastore
readonly datastore: "running" | "candidate";Defined in: netconf/src/operations/transaction.ts:117
The datastore that couldn't be locked.
holder
readonly holder: number | undefined;Defined in: netconf/src/operations/transaction.ts:119
The holder's session-id from <error-info>. 0 means a non-NETCONF holder; undefined if the server didn't say.
name
name: string = 'LockDeniedError';Defined in: netconf/src/operations/transaction.ts:114
'LockDeniedError'.
Overrides
phase
readonly phase: TransactionPhase;Defined in: netconf/src/operations/transaction.ts:95
Where the transaction failed: 'lock', 'edit', 'commit', 'confirm' and so on.