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-04-30 20:43:41 +02:00
2026-05-01 15:49:39 +02:00
2026-04-30 22:10:38 +02:00
2026-04-29 19:24:55 +02:00
2026-04-26 15:12:10 +02:00
2026-04-27 18:34:11 +02:00
2026-04-26 20:27:04 +02:00
2026-04-30 21:33:08 +02:00
2026-05-01 15:49:39 +02:00
2026-03-03 20:38:32 +01:00
2026-04-28 09:40:10 +02:00
2026-04-30 21:02:00 +02:00