KamiSama.ExternalServices.Exceptions 10.0.11.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package KamiSama.ExternalServices.Exceptions --version 10.0.11.8
                    
NuGet\Install-Package KamiSama.ExternalServices.Exceptions -Version 10.0.11.8
                    
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.ExternalServices.Exceptions" Version="10.0.11.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.ExternalServices.Exceptions" Version="10.0.11.8" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.ExternalServices.Exceptions" />
                    
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.ExternalServices.Exceptions --version 10.0.11.8
                    
#r "nuget: KamiSama.ExternalServices.Exceptions, 10.0.11.8"
                    
#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.ExternalServices.Exceptions@10.0.11.8
                    
#: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.ExternalServices.Exceptions&version=10.0.11.8
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.ExternalServices.Exceptions&version=10.0.11.8
                    
Install as a Cake Tool

KamiSama.ExternalServices.Exceptions

Back to package index

Version: 10.0.0

Description

HTTP-oriented exceptions for external-service discovery failures, timeouts, and invalid provider responses. Use them at integration boundaries to expose consistent localization keys, arguments, and 500 or 504 status codes.

How to use

dotnet add package KamiSama.ExternalServices.Exceptions --version 10.0.0

Throw these exceptions at an external-service boundary so KamiSama problem-details handling can expose a consistent localization key, arguments, and status code:

using KamiSama.ExternalServices.Exceptions.Exceptions;

if (provider is null)
    throw new CannotFindExternalServiceException("Email", configuredProvider);

if (response.TimedOut)
    throw new ExternalServiceTimedOutException("Email", "The provider did not respond in time.");

if (!response.IsValid)
    throw new InvalidResponseForExternalServiceException("Email", "The provider response was invalid.");

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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on KamiSama.ExternalServices.Exceptions:

Package Downloads
KamiSama.ExternalServices.Email.Core

Provider-selecting email registration for ASP.NET Core applications, including default-provider options and a built-in mock provider. Use it to route ISendEmail calls to keyed transport implementations.

KamiSama.ExternalServices.Sms.Core

Provider-selecting SMS registration for ASP.NET Core applications, including default-provider options and a scoped mock provider. Use it to route unkeyed ISendSms calls to scoped keyed providers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.11.9 110 8/24/2026
10.0.11.8 107 8/21/2026
10.0.11.7 117 8/21/2026
10.0.11.6 117 8/19/2026
10.0.11.5 103 8/18/2026
10.0.11.4 114 8/18/2026
10.0.11.3 104 8/18/2026
10.0.11.2 108 8/18/2026
10.0.11.1 111 8/15/2026
10.0.11 111 8/11/2026
10.0.10.2 127 8/4/2026