TekH 586b99ddc7 Add global exception handling middleware
Introduced `ExceptionHandlingMiddleware` to handle exceptions globally, log them, and return appropriate HTTP responses with JSON error messages.

- Added `HandleExceptionAsync` for exception processing.
- Handled `BadRequestException` (400) and `NotFoundException` (404).
- Included default handling for unhandled exceptions (500).
- Marked middleware as `[Obsolete]` with a note to use `DigitalData.Core.Exceptions.Middleware`.
- Added necessary `using` directives and XML documentation.
2025-12-03 09:31:14 +01:00
2025-11-25 00:12:27 +01:00
2025-11-25 00:12:27 +01:00
2025-11-25 00:40:59 +01:00

ReC

Description
No description provided
Readme 360 KiB
Languages
C# 100%