export type FetcherErrorOptions = { status: number; statusText: string; body: any; url: string; }; export declare class FetcherError
extends Error { readonly statusText: string; readonly status: number; readonly body: TBody; readonly url: string; constructor(args: FetcherErrorOptions); get message(): string; } export declare function errorFromResponse(response: Response): Promise