export interface BaseErrorOptions { message: string; errorCode: string; requestId?: string; } export interface AuthenticationErrorOptions extends BaseErrorOptions { technicalDetails?: Record; userId?: string; } export interface AuthorizationErrorOptions extends BaseErrorOptions { requiredPermissions: string[]; userPermissions: string[]; userId?: string; } export interface BrowserErrorOptions extends BaseErrorOptions { browserInfo?: { browserId?: string; pageId?: string; action?: string; selector?: string; url?: string; }; sessionId?: string; } export interface NetworkErrorOptions extends BaseErrorOptions { networkInfo?: { url?: string; method?: string; statusCode?: number; timeout?: number; retryAttempt?: number; }; } export interface ValidationErrorOptions extends BaseErrorOptions { validationErrors: Array<{ field: string; message: string; code?: string; }>; userId?: string; } export interface SessionErrorOptions extends BaseErrorOptions { sessionInfo?: { sessionId?: string; userId?: string; action?: string; expiresAt?: Date; }; } export interface ConfigurationErrorOptions extends BaseErrorOptions { configurationIssue: string; configPath?: string; expectedValue?: unknown; actualValue?: unknown; } export interface SecurityErrorOptions extends BaseErrorOptions { securityInfo: { type: string; details?: Record; clientIp?: string; }; userId?: string; } export interface RateLimitErrorOptions extends BaseErrorOptions { rateLimitInfo: { limit: number; current: number; resetTime: Date; window: string; }; userId?: string; } export interface ResourceErrorOptions extends BaseErrorOptions { resourceInfo: { resourceType: string; resourceId?: string; action?: string; reason?: string; }; } export interface ProxyErrorOptions extends BaseErrorOptions { proxyInfo?: { proxyUrl?: string; targetUrl?: string; statusCode?: number; errorDetails?: string; }; sessionId?: string; } export interface DomainErrorOptions extends BaseErrorOptions { domainInfo?: { domain: string; subdomain?: string; operation?: string; details?: Record; }; } export interface ExternalServiceErrorOptions extends BaseErrorOptions { serviceInfo: { serviceName: string; responseCode?: number; responseTime?: number; endpoint?: string; }; } export interface PerformanceErrorOptions extends BaseErrorOptions { performanceInfo: { operation: string; duration?: number; threshold?: number; memoryUsage?: number; }; } export interface SystemErrorOptions extends BaseErrorOptions { systemInfo: { component: string; reason?: string; version?: string; }; } export interface BusinessLogicErrorOptions extends BaseErrorOptions { businessInfo: { rule: string; violationType: string; contextData?: Record; }; userId?: string; } //# sourceMappingURL=domain-error-interfaces.d.ts.map