backbone-db
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -6,3 +6,2 @@ var error = 'Error message should be defined'; | ||
var BaseError = function(msg, options) { | ||
Error.call(this); | ||
options = options || {}; | ||
@@ -13,2 +12,4 @@ this.message = msg || options.msg || error; | ||
this.description = options.description || description; | ||
Error.call(this, this.message); | ||
Error.captureStackTrace(this, this); | ||
}; | ||
@@ -28,2 +29,2 @@ | ||
module.exports = BaseError; | ||
module.exports = BaseError; |
{ | ||
"name": "backbone-db", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Backbone.js database storage interface", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
47276
915