hasql-transaction-io 0.2.1.0 → 0.2.2.0
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Hasql.TransactionIO: condemn :: TransactionIO ()
+ Hasql.TransactionIO: condemn :: TransactionIO a
Files
hasql-transaction-io.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: hasql-transaction-io-version: 0.2.1.0+version: 0.2.2.0 license: MIT license-file: LICENSE copyright: (c) 2022, 2023 Andre Marianiello
library/Hasql/Private/TransactionIO.hs view
@@ -93,5 +93,5 @@ instance Exception CondemnTransactionException -- | Throw an internal exception that causes the transaction to be rolled back. If you wish to rollback a transaction with a more useful exception use `throwIO`-condemn :: TransactionIO ()+condemn :: TransactionIO a condemn = throwIO CondemnTransactionException