Re:Checked exceptions: Java’s biggest mistake (2014)
by masklinn on Friday September 11, 2020 @02:03PM
(#24445511)
> - protocol exceptions like duplicated key
> - query exceptions
Even that is just barely scratching the surface. Postgres has ~250 error codes, and while not all of them can be triggered by all operations or statements, there's way more granularity in there than there is in just two piddly exceptions.
> - query exceptions
Even that is just barely scratching the surface. Postgres has ~250 error codes, and while not all of them can be triggered by all operations or statements, there's way more granularity in there than there is in just two piddly exceptions.