import { HttpHeaders, HttpResponseBase } from "@angular/common/http"; import { Response40x } from "./responses.model"; export declare class MyHttpErrorResponse extends HttpResponseBase implements Error { readonly name = "HttpErrorResponse"; readonly message: string; readonly messageHttp: string; readonly error: any | null; readonly response: Response40x | null; readonly data: object | null; readonly code: string | null; readonly validation: { [key: string]: string[]; }; /** * Errors are never okay, even when the status code is in the 2xx success range. */ readonly ok = false; constructor(init: { error?: any; headers?: HttpHeaders; status?: number; statusText?: string; url?: string; }); getAllValidations(): string[]; getFirstValidation(): string; getListValidations(): string; }