pub async fn rollback<T: TransactionSession>(txn: T) -> Result<()>
Rolls back a transaction and maps errors consistently.
Returns an error when transaction setup, execution, or finalization fails.