TransactionException class

Thrown when a database transaction fails.

Contains information about whether the transaction was rolled back and the original cause of failure.

Inheritance

Constructors

TransactionException({required String message, bool wasRolledBack = true, dynamic originalError, StackTrace? stackTrace})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
originalError → dynamic
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
finalinherited
wasRolledBack bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited