This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added InvalidPurchaseOrderNumberError
- Loading branch information
Zenedith
committed
Nov 11, 2015
1 parent
0b958a7
commit 06239cc
Showing
4 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
var util = require('util'); | ||
|
||
var InvalidPurchaseOrderNumberError = function InvalidPurchaseOrderNumberError(message, userMessage, field) { | ||
Error.call(this); | ||
this.name = 'InvalidPurchaseOrderNumberError'; | ||
this.message = message; | ||
this.userMessage = userMessage; | ||
this.field = field; | ||
}; | ||
|
||
util.inherits(InvalidPurchaseOrderNumberError, Error); | ||
|
||
module.exports.InvalidPurchaseOrderNumberError = InvalidPurchaseOrderNumberError; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "receipts-model", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Receipts model.", | ||
"main": "./index.js", | ||
"dependencies": { | ||
|
@@ -42,6 +42,6 @@ | |
"node": ">=0.10.0" | ||
}, | ||
"readmeFilename": "README.md", | ||
"_id": "[email protected].5", | ||
"_from": "receipts-model@^0.5.5" | ||
"_id": "[email protected].6", | ||
"_from": "receipts-model@^0.5.6" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters