Interface ErrorContext

interface ErrorContext {
    error: unknown;
    fetch: ((input, init?) => Promise<Response>);
    init: RequestInit;
    response?: Response;
    url: string;
}

Properties

error: unknown
fetch: ((input, init?) => Promise<Response>)

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      • input: RequestInfo | URL
      • Optional init: RequestInit

      Returns Promise<Response>

init: RequestInit
response?: Response
url: string