import { FetchResponse } from './fetch-response.js'; /** * The FetchError class is used for errors that are returned by the Fetch class. * * [Aracna Reference](https://aracna.dariosechi.it/core/classes/fetch-error) */ export declare class FetchError extends Error { /** * The response that caused the error. */ response: FetchResponse; constructor(error: Error, response: FetchResponse); /** * Creates a new FetchError instance. */ static from(): FetchError; static from(error: Error): FetchError; static from(error: Error, response: FetchResponse): FetchError; static from(response: FetchResponse): FetchError; }