Type Alias kv::TransactionError
source · pub type TransactionError<E> = ConflictableTransactionError<E>;
Expand description
Transaction error
Aliased Type§
enum TransactionError<E> {
Abort(E),
Storage(Error),
// some variants omitted
}
Variants§
Abort(E)
A user-provided error type that indicates the transaction should abort.
This is passed into the return value of transaction
as a direct Err
instance, rather than forcing users to interact with this enum
directly.
Storage(Error)
A serious underlying storage issue has occurred that requires attention from an operator or a remediating system, such as corruption.