/**
 * Error Handling Module Exports
 */

// Export base error classes
export * from './BaseError';

// Export error handler
export * from './ErrorHandler';

// Re-export commonly used error classes for convenience
export {
  BaseError,
  ValidationError,
  NotFoundError,
  ServiceError,
  BusinessLogicError,
  ExternalServiceError,
  InsufficientBalanceError,
  WalletFrozenError,
  RewardAlreadyProcessedError,
  PayrollBatchLockedError,
  ErrorCode,
  type ErrorContext
} from './BaseError';

export {
  ErrorHandler,
  setupGlobalErrorHandling,
  createErrorBoundary,
  type ErrorLogEntry,
  type ErrorHandlerConfig
} from './ErrorHandler';