errorable-user
v0.0.1
Published
user errors for errorable
Downloads
3
Readme
errorable-user
user errors for errorable
Installation
$ npm install --save errorable-user
Usage
var errorable = require('errorable');
var errorableUser = require('errorable-user');
var Generator = errorable.Generator;
var cnErrors = new Generator(errorableUser, 'zh-CN').errors;
var enUsErrors = new Generator(errorableUser, 'en-US').errors;
// UserNotFound
// UserNotLoggedIn
// UserExisted
License
MIT © calidion