b0e38ffb1e8c44d739b49e730cc1704b60b4affa0a6636f860a46ba3c4ca193bdfa65e382aaf5bfaccde227f158c7a79ff4b026d875f284757ac53dce89e74 527 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.createErrorClass = void 0;
  4. function createErrorClass(createImpl) {
  5. var _super = function (instance) {
  6. Error.call(instance);
  7. instance.stack = new Error().stack;
  8. };
  9. var ctorFunc = createImpl(_super);
  10. ctorFunc.prototype = Object.create(Error.prototype);
  11. ctorFunc.prototype.constructor = ctorFunc;
  12. return ctorFunc;
  13. }
  14. exports.createErrorClass = createErrorClass;
  15. //# sourceMappingURL=createErrorClass.js.map