Reyansh Reyansh - 1 year ago 74
Node.js Question

Is there any way to find the database error codes for Bookshelf.js ? Iam using postgreSQL + ember.js + bookshelf.js

How to know the error codes for Bookshelf.js? so that i can handle any type of error ? Iam using ember.js too in my project (node.js+ember.js+bookshelf.js)

Answer Source

Bookshelf and the postgres driver will mostly just surface the errors generated within postgresql itself, which you can find listed here (for PostgreSQL 9.6).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download