Type Alias GenericApiFetchResult

GenericApiFetchResult: (
    | { error?: undefined; ok: true } & GenericApiResponse
    | { error?: undefined; ok: false } & GenericApiResponse
    | {
        body?: undefined;
        error: string;
        headers?: undefined;
        ok: false;
        status?: undefined;
    }
) & { fetchRes?: Response }