polarity-integration-utils
    Preparing search index...

    Type Alias OnNetworkErrorHook

    OnNetworkErrorHook: (
        error: NetworkError | RetryRequestError,
        requestOptions: HttpRequestOptions,
        userOptions: DoLookupUserOptions,
    ) => Promise<void>

    Hook that runs when a network error or rate-limiting error occurs during a request.

    If all registered hooks return without throwing, the error is suppressed. To propagate or replace the error, throw from within the hook.

    Type Declaration