stuff
This commit is contained in:
28
public/js/cljs-runtime/goog.debug.error.js
Normal file
28
public/js/cljs-runtime/goog.debug.error.js
Normal file
@@ -0,0 +1,28 @@
|
||||
goog.loadModule(function(exports) {
|
||||
function DebugError(msg = undefined, cause = undefined) {
|
||||
if (Error.captureStackTrace) {
|
||||
Error.captureStackTrace(this, DebugError);
|
||||
} else {
|
||||
const stack = (new Error()).stack;
|
||||
if (stack) {
|
||||
this.stack = stack;
|
||||
}
|
||||
}
|
||||
if (msg) {
|
||||
this.message = String(msg);
|
||||
}
|
||||
if (cause !== undefined) {
|
||||
this.cause = cause;
|
||||
}
|
||||
this.reportErrorToServer = true;
|
||||
}
|
||||
"use strict";
|
||||
goog.module("goog.debug.Error");
|
||||
goog.module.declareLegacyNamespace();
|
||||
goog.inherits(DebugError, Error);
|
||||
DebugError.prototype.name = "CustomError";
|
||||
exports = DebugError;
|
||||
return exports;
|
||||
});
|
||||
|
||||
//# sourceMappingURL=goog.debug.error.js.map
|
Reference in New Issue
Block a user