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 22:24:42 +02:00
2026-04-30 21:26:31 +02:00
2026-04-30 22:24:42 +02:00
2026-04-30 22:04:15 +02:00
2026-04-30 21:56:42 +02:00
2026-04-30 22:24:42 +02:00
2026-04-30 22:10:38 +02:00
2026-05-01 15:42:05 +02:00
2026-03-19 19:13:38 +01:00
2026-04-29 19:39:55 +02:00
2026-04-30 21:54:14 +02:00
2026-04-30 21:54:14 +02:00
2026-04-30 21:26:31 +02:00
2026-05-01 15:49:39 +02:00
2026-04-28 08:08:05 +02:00
2026-04-30 20:54:24 +02:00