CouldNotRollBackException class Null safety
Exception thrown by drift when rolling back a transaction fails.
When using a
transaction block, transactions are automatically rolled back
when the inner block throws an exception.
If sending the
ROLLBACK TRANSACTION command fails as well, drift reports
both that and the initial error with a CouldNotRollBackException.
- Implemented types
- cause → Object
The original exception that caused the transaction to be rolled back.
- exception → Object
The exception thrown by the database implementation when attempting to
- hashCode → int
The hash code for this object. [...]
- originalStackTrace → StackTrace
The StackTrace of the original cause.
- runtimeType → Type
A representation of the runtime type of the object.