flora-errors
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -9,3 +9,2 @@ 'use strict'; | ||
Error.captureStackTrace(this, this.constructor); | ||
this.name = this.constructor.name; | ||
@@ -26,2 +25,4 @@ | ||
this.httpStatusCode = 500; // HTTP status for "other errors" | ||
Error.captureStackTrace(this, this.constructor); | ||
} | ||
@@ -28,0 +29,0 @@ } |
{ | ||
"name": "flora-errors", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Error definitions for Flora", | ||
@@ -42,3 +42,3 @@ "main": "index.js", | ||
"grunt-contrib-clean": "^1.0.0", | ||
"grunt-eslint": "^18.00", | ||
"grunt-eslint": "^19.0.0", | ||
"grunt-mocha-istanbul": "^5.0.1", | ||
@@ -45,0 +45,0 @@ "grunt-mocha-test": "^0.13.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
8447