pg-error-codes
v1.1.0
Published
Error codes for PostgreSQL
Downloads
11,160
Readme
pg-error-codes
A list of error codes in PostgreSQL, exposed as JSON. Published as an npm
package.
Last updated for PostgreSQL 10.4.
Usage
$ npm install --save pg-error-codes
import errorCodes from 'pg-error-codes';
console.log(errorCodes);
// {
// "00000": "successful_completion",
// "01000": "warning",
// ... etc ...
License
Public Domain