errors for session
$ npm install --save errorable-session
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
Apache-2.0 © calidion