How does one detect the type of an error that occurs in bookshelf.js when talking to PostgreSQL (or another RDBMS)?
Prompted by this question; I don't use bookshelf.js myself.
A search of the manual did not reveal much that was enlightening.
How does one detect the type of an error that occurs in bookshelf.js when talking to PostgreSQL (or another RDBMS)?
Prompted by this question; I don't use bookshelf.js myself.
A search of the manual did not reveal much that was enlightening.