throwTransactionResultWithError property
Default for the openTransactionWithPool adapters: an aborted transaction's result is thrown, so the driver's callback fails and the driver rolls back.
Implementation
@override
bool get throwTransactionResultWithError => true;