import { Api } from "./@types"; export declare type ErrorData = Api.components["schemas"]["Problem"]; export declare type ErrorType = "ForbiddenError" | "InvalidDataError" | "SystemError" | "ResourceNotFoundError" | "BusinessError" | "GenericError"; declare class CustomError { static type: ErrorType; message?: string; data?: ErrorData; constructor(data: ErrorData); } export default CustomError;