UNPKG

@blue-impact-engine/blue-impact-engine-client

Version:
25 lines 775 B
import { BlueImpactApiError } from "../core"; /** * Error handling utilities */ export declare const errorHandling: { /** * Create a standardized error from various error types * @param error - Error to standardize * @returns BlueImpactApiError - Standardized error */ standardizeError(error: any): BlueImpactApiError; /** * Check if error is retryable * @param error - Error to check * @returns boolean - True if retryable */ isRetryableError(error: any): boolean; /** * Extract error message from various error types * @param error - Error to extract message from * @returns string - Error message */ extractErrorMessage(error: any): string; }; //# sourceMappingURL=loggingUtils.d.ts.map