PhoenixmlDb.Core

TransactionException

Thrown when a transaction operation fails due to an invalid state or internal error.

#TransactionException

Namespace: PhoenixmlDb.Core

Thrown when a transaction operation fails due to an invalid state or internal error.

When it's thrown: When attempting to commit or roll back a transaction that has already been committed, rolled back, or disposed. Also thrown for internal LMDB transaction errors that do not fit a more specific exception type.

How to handle it: This usually indicates a programming error (e.g., using a transaction after disposal). Review the transaction lifecycle in your code to ensure each transaction is committed or rolled back exactly once.

#See also