Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.27 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.27 KB

errorable-admin NPM version Build Status Dependency Status Coverage percentage

admin errors for errorable

Installation

$ npm install --save errorable-admin

Usage

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

// AdminNotFound
// AdminNotLoggedIn
// AdminExisted
// AdministratorNotFound
// AdministratorNotLoggedIn
// AdministratorExisted

License

MIT © calidion