Skip to content

Repository files navigation

custom-errors-database

NPM versionBuild StatusCoverage StatusNSP Status

a custom error for database errors

table of contents

installation

npminstallcustom-errors-database

api

/** * @param {number} code * @param {string} message * * @constructor */functionDatabaseError(code,message)

usage

varDatabaseError=require('custom-errors-database')thrownewDatabaseError(24,'database error message')

license

MIT License

About

a custom error for generic database errors

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages