07e83a1a119f42d86d311e3735063061a2734ceb20eabe47f1890c635fa46c72637b68139a9101d4f472d9ed63e65858d1bc29d434b0ee267507c59e5b39a3 377 B

1234567891011
  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