KamiSama.Chassis.HttpExceptions 10.0.11.2

There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KamiSama.Chassis.HttpExceptions" Version="10.0.11.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Chassis.HttpExceptions" Version="10.0.11.2" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.Chassis.HttpExceptions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KamiSama.Chassis.HttpExceptions --version 10.0.11.2
                    
#r "nuget: KamiSama.Chassis.HttpExceptions, 10.0.11.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package KamiSama.Chassis.HttpExceptions@10.0.11.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=KamiSama.Chassis.HttpExceptions&version=10.0.11.2
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Chassis.HttpExceptions&version=10.0.11.2
                    
Install as a Cake Tool

KamiSama.Chassis.HttpExceptions

Back to package index

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

Types

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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
Loading failed