import { ApiError } from '../types'; /** * Custom error class for VeroCompliance API errors */ export declare class VeroComplianceError extends Error { code?: number | undefined; details?: string | undefined; validationErrors?: Array<{ message: string; members: string[]; }> | undefined; response?: any; constructor(message: string, code?: number | undefined, details?: string | undefined, validationErrors?: Array<{ message: string; members: string[]; }> | undefined, response?: any); } /** * Handles API errors and converts them to VeroComplianceError */ export declare class ErrorHandler { /** * Process an error from the API response */ static handleApiError(error: ApiError): VeroComplianceError; /** * Process an Axios error */ static handleAxiosError(error: any): VeroComplianceError; /** * Check if an error is a VeroComplianceError */ static isVeroComplianceError(error: any): error is VeroComplianceError; } //# sourceMappingURL=error-handler.d.ts.map