Skip to content

About

Error codes for ArangoDB

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

89 Commits

Folders and files

Repository files navigation

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)));

About

Error codes for ArangoDB

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages