Class: PartialLockDeniedError
Defined in: netconf/src/operations/partial-lock.ts:63
A partial lock was refused because another session holds a lock on some of the same nodes, or a global lock on running.
Extends
Constructors
Constructor
new PartialLockDeniedError(
holder,
lockId,
cause
): PartialLockDeniedError;Defined in: netconf/src/operations/partial-lock.ts:70
Parameters
holder
number | undefined
lockId
number | undefined
cause
Returns
PartialLockDeniedError
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
code
readonly code: string = 'ERR_NETCONF_PARTIAL_LOCK_DENIED';Defined in: netconf/src/operations/partial-lock.ts:66
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.
Inherited from
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.
Inherited from
lockId
readonly lockId: number | undefined;Defined in: netconf/src/operations/partial-lock.ts:68
The conflicting partial lock's id, if the server gave one in <error-info>.
name
name: string = 'PartialLockDeniedError';Defined in: netconf/src/operations/partial-lock.ts:65
The error class name.
Overrides
phase
readonly phase: TransactionPhase;Defined in: netconf/src/operations/transaction.ts:95
Where the transaction failed: 'lock', 'edit', 'commit', 'confirm' and so on.