Debian Codegraph @

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

raw
1 export function createErrorClass(createImpl) {
2 var _super = function (instance) {
3 Error.call(instance);
4 instance.stack = new Error().stack;
5 };
6 var ctorFunc = createImpl(_super);
7 ctorFunc.prototype = Object.create(Error.prototype);
8 ctorFunc.prototype.constructor = ctorFunc;
9 return ctorFunc;
10 }
11 //# sourceMappingURL=createErrorClass.js.map