KamiSama.Chassis.ProblemDetails
10.0.11.9
dotnet add package KamiSama.Chassis.ProblemDetails --version 10.0.11.9
NuGet\Install-Package KamiSama.Chassis.ProblemDetails -Version 10.0.11.9
<PackageReference Include="KamiSama.Chassis.ProblemDetails" Version="10.0.11.9" />
<PackageVersion Include="KamiSama.Chassis.ProblemDetails" Version="10.0.11.9" />
<PackageReference Include="KamiSama.Chassis.ProblemDetails" />
paket add KamiSama.Chassis.ProblemDetails --version 10.0.11.9
#r "nuget: KamiSama.Chassis.ProblemDetails, 10.0.11.9"
#:package KamiSama.Chassis.ProblemDetails@10.0.11.9
#addin nuget:?package=KamiSama.Chassis.ProblemDetails&version=10.0.11.9
#tool nuget:?package=KamiSama.Chassis.ProblemDetails&version=10.0.11.9
KamiSama.Chassis.ProblemDetails
Version: 10.0.0
Description
ASP.NET Core ProblemDetails integration for converting KamiSama HTTP exceptions into standardized API error responses. Use it with the surrounding package APIs when composing application code.
How to use
dotnet add package KamiSama.Chassis.ProblemDetails --version 10.0.0
Register the MVC filter after adding controllers. The default provider converts HttpExceptionBase metadata and uses the package resource localizer:
using KamiSama.Chassis.ProblemDetails;
services.AddControllers()
.AddExceptionFilterForProblemDetails(options => options
.UseDefaultProblemDetailsProvider()
.UseResourceLocalizer<ErrorMessages>());
The filter handles every MVC exception. Non-HTTP exceptions become status 500 payloads whose title uses the original exception message. The current filter does not explicitly assign ObjectResult.StatusCode, and the default provider does not copy ExtendedProperties; account for those runtime limitations or supply a custom IProblemDetailsDataProvider. Custom provider factories must configure their own localization behavior.
Namespaces
- KamiSama.Chassis.ProblemDetails (5 types)
Types
- KamiSama.Chassis.ProblemDetails.IProblemDetailsDataProvider - Converts exceptions into ASP.NET Core problem details for the MVC exception filter. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.ProblemDetails.KamiSamaProblemDetailsOptions - Options object for configuring how KamiSama converts exceptions into ASP.NET Core
ProblemDetails. Use it to choose the provider and optional localization behavior. - KamiSama.Chassis.ProblemDetails.KamiSamaProblemDetailsProvider - Converts KamiSama HTTP exceptions into ASP.NET Core problem details payloads. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.ProblemDetails.ProblemDetailsExceptionFilter - Handles MVC exceptions by converting them to problem details through the configured provider. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.ProblemDetails.ServiceCollectionExtension - Registers the KamiSama ProblemDetails provider and global MVC exception filter. Use it with the surrounding package APIs when composing application code.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- KamiSama.Chassis.HttpExceptions (>= 10.0.11.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.11.9 | 91 | 8/24/2026 |
| 10.0.11.8 | 93 | 8/21/2026 |
| 10.0.11.7 | 96 | 8/21/2026 |
| 10.0.11.6 | 91 | 8/19/2026 |
| 10.0.11.5 | 85 | 8/18/2026 |
| 10.0.11.4 | 91 | 8/18/2026 |
| 10.0.11.3 | 85 | 8/18/2026 |
| 10.0.11.2 | 88 | 8/18/2026 |
| 10.0.11.1 | 101 | 8/15/2026 |
| 10.0.11 | 97 | 8/11/2026 |
| 10.0.10.2 | 111 | 8/4/2026 |
| 10.0.10.1 | 117 | 7/31/2026 |
| 10.0.10 | 115 | 7/30/2026 |
| 10.0.9 | 123 | 6/20/2026 |
| 10.0.7 | 129 | 5/1/2026 |
| 10.0.6 | 137 | 4/16/2026 |
| 10.0.1 | 307 | 11/26/2025 |
| 10.0.0 | 277 | 11/22/2025 |
| 3.1.6 | 268 | 11/7/2025 |
| 3.1.5 | 251 | 11/6/2025 |