@bugbug-io/sdk
    Preparing search index...

    Type Alias RequestErrorHook

    RequestErrorHook: (
        requestData: RequestData,
        response: Response,
        error: Error,
    ) => void

    Callback receiving the request envelope, the underlying Response, and the originating Error. Used by onRequestError.

    Type Declaration

      • (requestData: RequestData, response: Response, error: Error): void
      • Parameters

        • requestData: RequestData
        • response: Response
        • error: Error

        Returns void