import { ApplicationError } from "./ApplicationError"; import { HttpStatusCode } from "../helpers/http"; /** * General error that the API can convert into an error API response. */ export declare class HttpApiError extends ApplicationError { readonly statusCode: HttpStatusCode; readonly errorMessage: string; readonly data: ErrorData; /** * @param statusCode HTTP status code of error * @param message If provided, custom message; else, default message for * status code (i.e. 400 => Bad Request) */ constructor(statusCode: HttpStatusCode, message: string, data: ErrorData); } //# sourceMappingURL=HttpApiError.d.ts.map