Skip to content

Errorable/session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published