frontend/.pnpm-store/v3/files/50/07e83a1a119f42d86d311e3735063061a2734ceb20eabe47f1890c635fa46c72637b68139a9101d4f472d9ed63e65858d1bc29d434b0ee267507c59e5b39a3

11 lines
377 B
Plaintext

export function createErrorClass(createImpl) {
var _super = function (instance) {
Error.call(instance);
instance.stack = new Error().stack;
};
var ctorFunc = createImpl(_super);
ctorFunc.prototype = Object.create(Error.prototype);
ctorFunc.prototype.constructor = ctorFunc;
return ctorFunc;
}
//# sourceMappingURL=createErrorClass.js.map