Debian Codegraph @

node/rxjs/dist/cjs/internal/util/createErrorClass.js

raw
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