igrishaev / pg2

A fast PostgreSQL driver for Clojure
https://github.com/igrishaev/pg2
The Unlicense
110 stars 4 forks source link

org.pg.error.PGErrorResponse extends Error #6

Closed kolstae closed 7 months ago

kolstae commented 8 months ago

This is just hard to use. Errors are reserved for OOMs and stuff that's not to be handled.

Perhaps this could inherit Exception?

igrishaev commented 8 months ago

Yes I'll fix it soon.

igrishaev commented 8 months ago

I think it should extend RuntimeException. I don't want it to be checked

igrishaev commented 7 months ago

It has been solved in 1.6.0.