{"ast":null,"code":"export function createErrorClass(createImpl) {\n  const _super = instance => {\n    Error.call(instance);\n    instance.stack = new Error().stack;\n  };\n  const ctorFunc = createImpl(_super);\n  ctorFunc.prototype = Object.create(Error.prototype);\n  ctorFunc.prototype.constructor = ctorFunc;\n  return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}