KamiSama.Chassis.HttpExceptions
10.0.11.2
See the version list below for details.
dotnet add package KamiSama.Chassis.HttpExceptions --version 10.0.11.2
NuGet\Install-Package KamiSama.Chassis.HttpExceptions -Version 10.0.11.2
<PackageReference Include="KamiSama.Chassis.HttpExceptions" Version="10.0.11.2" />
<PackageVersion Include="KamiSama.Chassis.HttpExceptions" Version="10.0.11.2" />
<PackageReference Include="KamiSama.Chassis.HttpExceptions" />
paket add KamiSama.Chassis.HttpExceptions --version 10.0.11.2
#r "nuget: KamiSama.Chassis.HttpExceptions, 10.0.11.2"
#:package KamiSama.Chassis.HttpExceptions@10.0.11.2
#addin nuget:?package=KamiSama.Chassis.HttpExceptions&version=10.0.11.2
#tool nuget:?package=KamiSama.Chassis.HttpExceptions&version=10.0.11.2
KamiSama.Chassis.HttpExceptions
Version: 10.0.0
Description
HTTP-oriented exception types with status codes, localization keys, and extra problem details. Use these exceptions to keep application errors consistent across ASP.NET Core APIs.
How to use
dotnet add package KamiSama.Chassis.HttpExceptions --version 10.0.0
Throw an HTTP exception from application or feature code, then let an API-boundary adapter translate its status and localization metadata into a response:
using KamiSama.Chassis.HttpExceptions;
Product product = await repository.FindByIdAsync(id, cancellationToken)
?? throw new NotFoundException<Product>(id, nameof(id));
These exceptions only carry metadata; they do not write HTTP responses. ExceptionLocalizationKey and ExceptionLocalizationArguments are intended for a localizing adapter. ExtendedProperties is available to adapters, but the current KamiSamaProblemDetailsProvider does not copy it. GoneException currently reports 401 rather than 410.
Namespaces
- KamiSama.Chassis.HttpExceptions (16 types)
Types
- KamiSama.Chassis.HttpExceptions.AlreadyExistsException - Represents a conflict in which an entity with the supplied key already exists. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.AlreadyExistsException<TEntity> - Represents a conflict in which an entity of type <typeparamref name="TEntity"/> already exists. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.BadRequestException - Represents a client request that cannot be processed and should be reported with HTTP status code 400. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.ConflictException - Represents a request that conflicts with the current resource state and should be reported with HTTP status code 409. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.ForbiddenException - Represents an understood request that the server refuses to perform and should be reported with HTTP status code 403. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.GoneException - Represents a resource that is no longer available. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.HttpExceptionBase - Provides the common HTTP status and localization metadata carried by KamiSama HTTP exceptions. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.InvalidOperationHttpException - Represents an invalid server operation that should be reported with HTTP status code 500. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.NotFoundException - Represents a request for an entity that could not be found. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.NotFoundException<TEntity> - Represents a request for an entity of type <typeparamref name="TEntity"/> that could not be found. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.NotImplementedHttpException - Represents server functionality that is not implemented and should be reported with HTTP status code 501. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.NotSupportedHttpException - Represents an unsupported server operation that should be reported with HTTP status code 500. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.PaymentRequiredException - Represents a request that requires payment and should be reported with HTTP status code 402. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.ServiceUnavailableException - Represents a temporary service outage that should be reported with HTTP status code 503. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.UnAuthorizedException - Represents an unauthenticated request that should be reported with HTTP status code 401. Use it with the surrounding package APIs when composing application code.
- KamiSama.Chassis.HttpExceptions.UnProcessableEntityException - Represents a semantically invalid request that should be reported with HTTP status code 422. 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
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on KamiSama.Chassis.HttpExceptions:
| Package | Downloads |
|---|---|
|
KamiSama.Chassis.ProblemDetails
ASP.NET Core ProblemDetails integration for converting KamiSama HTTP exceptions into standardized API error responses. |
|
|
KamiSama.Chassis.Commons
Reusable feature and repository base classes for common CRUD-style application flows. Use this package when building service-layer features around entities, DTOs, repositories, and paged results. |
|
|
Polareum.Externals.Exceptions
Package Description |
|
|
Polareum.Commons.RestSharp
Package Description |
|
|
Polareum.Identity.Abstractions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.11.9 | 397 | 8/24/2026 |
| 10.0.11.8 | 500 | 8/21/2026 |
| 10.0.11.7 | 464 | 8/21/2026 |
| 10.0.11.6 | 461 | 8/19/2026 |
| 10.0.11.5 | 414 | 8/18/2026 |
| 10.0.11.4 | 429 | 8/18/2026 |
| 10.0.11.3 | 412 | 8/18/2026 |
| 10.0.11.2 | 388 | 8/18/2026 |
| 10.0.11.1 | 319 | 8/15/2026 |
| 10.0.11 | 269 | 8/11/2026 |
| 10.0.10.2 | 285 | 8/4/2026 |
| 10.0.10.1 | 133 | 7/31/2026 |
| 10.0.10 | 477 | 7/30/2026 |
| 10.0.9 | 311 | 6/20/2026 |
| 10.0.7 | 1,632 | 5/1/2026 |
| 10.0.6 | 560 | 4/16/2026 |
| 10.0.1 | 549 | 11/26/2025 |
| 10.0.0 | 317 | 11/22/2025 |
| 3.1.6 | 304 | 11/7/2025 |
| 3.1.5 | 278 | 11/6/2025 |