};
function DefaultsError(msg, defs) {
- Error.call(this, msg)
+ Error.call(this, msg);
this.msg = msg;
this.defs = defs;
};
-DefaultsError.prototype = Object.create(Error.prototype)
-DefaultsError.prototype.constructor = DefaultsError
+DefaultsError.prototype = Object.create(Error.prototype);
+DefaultsError.prototype.constructor = DefaultsError;
DefaultsError.croak = function(msg, defs) {
throw new DefaultsError(msg, defs);