Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

arangodb-error-codes

1.0.15 • Public • Published

ArangoDB error codes

MIT License Build Status

NPM status

ArangoDB 3 error codes according to the official documentation.

installation

npm install --save arangodb-error-codes

usage

const arangoErrorCodes = require('arangodb-error-codes');
 
db.collection(collectionName).firstExample({ id })
  .catch(error => (error.errorNum === arangoErrorCodes.ERROR_HTTP_NOT_FOUND ? Promise.resolve() : Promise.reject(error)));

Install

npm i arangodb-error-codes

DownloadsWeekly Downloads

33

Version

1.0.15

License

MIT

Unpacked Size

67.3 kB

Total Files

10

Last publish

Collaborators

  • avatar