PostgreSQLRollback class

Represents a rollback from a transaction.

If a transaction is cancelled using PostgreSQLExecutionContext.cancelTransaction, the value of the Future returned from PostgreSQLConnection.transaction will be an instance of this type. reason will be the String value of the optional argument to PostgreSQLExecutionContext.cancelTransaction.

Properties

hashCode int
The hash code for this object.
no setterinherited
reason String
The reason the transaction was cancelled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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