Examples for Error Handling?
I am looking through docs on how to handle DB errors, but not finding a list of error codes. For example,
UNIQUE
or NOT NULL
constraints to check for. Or is this something I need to look at Postgres.js
docs for?
Pseudocode below using Sqlite, but want to know for Postgres.js
1 Reply
Did you figure this out in the end