Skip to content

Errorable/database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

errorable-database NPM version Build Status Dependency Status Coverage percentage

database errors for errorable

Installation

$ npm install --save errorable-database

Usage

var errorable = require('errorable');
var errorableDatabase = require('errorable-database');
var Generator = errorable.Generator;
var cnErrors = new Generator(errorableDatabase, 'zh-CN').errors;
var enUsErrors = new Generator(errorableDatabase, 'en-US').errors;

//DatabaseError
console.log(cnErrors.DatabaseError.message); //数据库错误!
console.log(enUsErrors.DatabaseError.message); //Database Error!

License

MIT © calidion

About

errors for database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published