@seamapi/http - v2.4.1
    Preparing search index...

    Function errorInterceptor

    • Axios response interceptor that converts errors from the Seam API into the corresponding SeamHttpApiError, e.g., SeamHttpUnauthorizedError or SeamHttpInvalidInputError. Rethrows non-Axios errors and errors without a Seam API error response unchanged.

      Parameters

      • err: unknown

      Returns Promise<void>