UNPKG

web-atoms-core

Version:
23 lines 815 B
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var FormattedError = /** @class */ (function () { function FormattedError(msg) { var e = new Error(msg.toString()); e.formattedMessage = msg; e.__proto__ = FormattedError.prototype; return e; } return FormattedError; }()); exports.default = FormattedError; }); //# sourceMappingURL=FormattedError.js.map