Table of Contents

Enum LockableErrorKind

Namespace
Tharga.MongoDB.Lockable
Assembly
Tharga.MongoDB.dll

Discriminator passed to the unified error handler on the EntityScopeExtensions.ExecuteAsync overload that takes Action<LockableErrorKind, Exception>, so callers can route every error type from a single callback without try/catching individual exception classes.

public enum LockableErrorKind

Fields

CommitError = 3

Other commit failure — typically CommitException or a transient I/O error.

HandlerError = 0

Exception thrown by the user-provided func before commit.

LockAlreadyReleased = 2

The lock was already released before commit was attempted (LockAlreadyReleasedException).

LockExpired = 1

The lock timed out before CommitAsync completed (LockExpiredException).