Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.26 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.26 KB

errorable-session NPM version Build Status Dependency Status Coverage percentage

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