errorable-session
v0.0.1
Published
errors for session
Downloads
1
Readme
errorable-session
errors for session
Installation
$ npm install --save errorable-session
Usage
var errorable = require('errorable');
var errorableSession = require('errorable-session');
var Generator = errorable.Generator;
var cnErrors = new Generator(errorableSession, 'zh-CN').errors;
var enUsErrors = new Generator(errorableSession, 'en-US').errors;
//cnErrors.SessionNotFound
//cnErrors.SessionMiddlewareNotFound
//cnErrors.SessionExpired
License
Apache-2.0 © calidion