Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.16 KB

errorable-order NPM version Build Status Dependency Status Coverage percentage

order errors for errorable

Installation

$ npm install --save errorable-order

Usage

var errorable = require('errorable');
var errorableOrder = require('errorable-order');
var Generator = errorable.Generator;
var cnErrors = new Generator(errorableOrder, 'zh-CN').errors;
var enUsErrors = new Generator(errorableOrder, 'en-US').errors;

// OrderNotFound
// OrderNotUpdated
// OrderStateTransferNotAllowed

License

MIT © calidion