axios-error-redact
    Preparing search index...

    Function createErrorInterceptor

    • Simple factory function to create an error interceptor for axios

      Returns (
          error: undefined | null | AxiosError<unknown, any>,
      ) => Promise<undefined | null | HttpErrorResponse | Error>

      error interceptor for axios