Searched refs:DefaultsError (Results 1 – 4 of 4) sorted by relevance
72 function DefaultsError(msg, defs) { class76 DefaultsError.prototype = Object.create(Error.prototype);77 DefaultsError.prototype.constructor = DefaultsError;78 DefaultsError.prototype.name = "DefaultsError";79 configure_error_stack(DefaultsError);83 …if (HOP(args, i) && !HOP(defs, i)) throw new DefaultsError("`" + i + "` is not a supported option"…
95 function DefaultsError(msg, defs) { class99 DefaultsError.prototype = Object.create(Error.prototype);100 DefaultsError.prototype.constructor = DefaultsError;101 DefaultsError.prototype.name = "DefaultsError";102 configure_error_stack(DefaultsError);104 DefaultsError.croak = function(msg, defs) {105 throw new DefaultsError(msg, defs);113 DefaultsError.croak("`" + i + "` is not a supported option", defs);
2 exports["DefaultsError"] = DefaultsError;
146 UglifyJS.DefaultsError.croak = function(msg, defs) {410 if (ex instanceof UglifyJS.DefaultsError) {