• Parameters

    • url: string
    • init: RequestInit

    Returns ResultAsync<
        Response,
        BaseException<
            {
                message: (
                    details:
                        | { kind: "NETWORK_ERROR"; url: string }
                        | {
                            kind: "HTTP_ERROR";
                            status: number;
                            statusText: string;
                            url: string;
                        },
                ) => string;
                name: "FetchException";
            },
            NetworkErrorOptions
            | HttpErrorOptions,
        >,
    >