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