Remove FormatException/ArgumentException handling: - These are framework exceptions, not application-specific - May come from internal libraries (false positives for 400 Bad Request) - Controllers now wrap Base64 conversion with BadRequestException explicitly Remove PdfProcessingException handling: - Exception type removed (obsolete) - DevExpress exceptions now propagate naturally → 500 Internal Server Error Current exception mapping: - ValidationException (FluentValidation) → 400 Bad Request - BadRequestException (custom) → 400 Bad Request - NotFoundException (custom) → 404 Not Found - SwissQrCodeNotFoundException (custom) → 404 Not Found - All others → 500 Internal Server Error
3.9 KiB
3.9 KiB