- Replace handleError with toAppError in IPC handlers (debug, llm, lsp, mcp, resources)
- Rename logAndThrowError to logAndThrowError for consistency in LLM service
- Update error handling in LSP installer and manager modules
- Standardize error handling in security modules (fileWatcher, secureFile, secureTerminal, securityModule)
- Refactor StreamingService error handling with improved error type conversion
- Update MCP client, config loader, and manager error handling patterns
- Standardize error handling in update service and agent services
- Improve error handling in tool providers and registry
- Update terminal, workspace, and completion service error handling
- Refactor shared error handler utility with better type safety
- Update error handler tests to reflect new toAppError API
- Consolidate error handling patterns across main and renderer processes for better maintainability
- Add centralized error handler utility in shared/utils/errorHandler.ts for consistent error processing across the application
- Add usePerformance hook for renderer-side performance monitoring and metrics collection
- Update all IPC handlers (debug, lsp, mcp, resources) to use centralized error handling instead of inline try-catch blocks
- Standardize error handling in main process services (LSP installer, MCP client/manager, security modules, update service)
- Improve error handling in renderer services (git, completion, health check, LSP, MCP, terminal manager)
- Update tool executors and providers to use consistent error handling patterns
- Add .tsbuildinfo to .gitignore to exclude TypeScript build cache files
- Add comprehensive test coverage for error handler utility
- Refactor error catching patterns from `catch (error: any)` to `catch (err)` with proper type safety
- Consolidate error handling logic to reduce code duplication across 40+ files
This refactoring improves maintainability, consistency, and provides better error tracking throughout the application.