Type Alias HandleAuthenticationErrorProps<A>

Props for function handleAuthenticationError

type HandleAuthenticationErrorProps<A extends AuthType = AuthType> = {
    canRetry: boolean;
    errorBody?: Record<string, unknown>;
    headers: Headers;
    hostConfig: HostConfig<A>;
    status: number;
}

Type Parameters

Index

Properties

canRetry: boolean
errorBody?: Record<string, unknown>
headers: Headers
hostConfig: HostConfig<A>

host config for connecting to a host

status: number