errorable-order
v0.0.1
Published
order errors for errorable
Downloads
4
Readme
errorable-order
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