Lukas
4f7316c484
Add unified RequestValidationError handler to unify error response schema
- Add RequestValidationError handler that converts Pydantic validation errors to unified ErrorResponse format
- Ensures all error responses return consistent schema: code, detail, metadata, correlation_id
- Add field_errors count and first_field location to metadata for validation errors
- Register handler in exception handler hierarchy before HTTPException handler
- Add comprehensive tests for validation error responses
- Update Backend-Development.md documentation to include correlation_id field and validation error details
- All 44 error-related tests pass (38 existing + 6 new validation tests)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 15:49:39 +02:00
..
2026-05-01 15:49:39 +02:00
2026-04-25 18:59:49 +02:00
2026-05-01 15:49:39 +02:00
2026-04-06 20:47:31 +02:00
2026-02-28 21:50:37 +01:00
2026-04-05 22:48:33 +02:00