/** * Is thrown if the transactionTimeoutMs is exceeded */ import { ErrorWithCause } from '../utils/error-with-cause'; export declare class TransactionTimeoutError extends Error { readonly timeoutMs: number | undefined; constructor({ timeoutMs }?: { readonly timeoutMs?: number; }); } /** * Is thrown if a transaction is cancelled via the cancellation token before it completed */ export declare class TransactionCancelledError extends Error { constructor(); } export declare class ConflictRetriesExhaustedError extends ErrorWithCause { static readonly CODE = "CONFLICT_RETRIES_EXHAUSTED"; readonly code = "CONFLICT_RETRIES_EXHAUSTED"; constructor({ causedBy, retries }: { causedBy: unknown; retries: number; }); }