nikita-volkov / hasql-pool

A pool of connections for Hasql
http://hackage.haskell.org/package/hasql-pool
MIT License
17 stars 15 forks source link

Exception for UsageError? #13

Closed istathar closed 2 years ago

istathar commented 2 years ago

Not sure if this is feasible, but you might consider an Exception instance for UsageError. QueryError inside it has one already. We found it a bit odd that one would throw but not the other. Cool work either way, thanks!

nikita-volkov commented 2 years ago

Addressed in 0.7.1