// Copyright © 2022-2026 Partium, Inc. DBA Partium import { AxiosError } from "axios"; import { Observable } from "rxjs"; import { SDK_ERROR_CODES } from "../../models/error"; /** * Helper function that provides error-handling and -parsing functionality for Axios-Errors. */ export declare class HandleAxiosErrorHelper { /** * Process and interpret errors that appear during the request and * wrap them into SdkError objects * * @param error the error that occurred */ static processError(error: AxiosError): Observable; static getErrorCodeFromError(error: AxiosError): SDK_ERROR_CODES; }