3 Commits
Author SHA1 Message Date
zhb-ai 1630543018 feat(error-handling): enhance connector error classification and response structure
- Refactored the error handling in the data connector to classify and raise errors using a shared classifier, improving maintainability.
- Updated the `classify_and_raise_connector_error` function to include operation context for better logging and error tracking.
- Introduced structured error responses for connection failures, including detailed error codes and messages.
- Enhanced API error responses to include a request ID for better traceability in error handling.
- Updated frontend components to handle new error structures and display relevant messages to users.
- Added tests to ensure proper error classification and response handling across various scenarios.
2026-04-30 19:30:15 +08:00
y-agent-ai 4455d3d33b WIP: archive incomplete phase work 2026-04-30 15:34:00 +08:00
y-agent-ai a2da2f3bcf feat: Add Unified Error Handling System
- Add unified error handling protocol for frontend and backend
- Add error code mapping and internationalization (i18n) support
- Implement global error handlers and frontend error handling utilities
- Update existing code to use the new error handling approach
- Add error handling related test cases
- Improve error handling documentation and specifications
2026-04-24 01:23:12 +08:00