"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
// @ts-nocheck
class CustomError extends Error {
  constructor(exception) {
    super(`${exception.type}: ${exception.message}`);
    this.name = exception.type;
  }
}
exports.default = CustomError;
//# sourceMappingURL=CustomError.js.map