// @ts-nocheck
export default class CustomError extends Error {
  constructor(exception) {
    super(`${exception.type}: ${exception.message}`);
    this.name = exception.type;
  }
}
//# sourceMappingURL=CustomError.js.map