Soenneker.Stripe.Enums.ErrorTypes
4.0.70
Prefix Reserved
dotnet add package Soenneker.Stripe.Enums.ErrorTypes --version 4.0.70
NuGet\Install-Package Soenneker.Stripe.Enums.ErrorTypes -Version 4.0.70
<PackageReference Include="Soenneker.Stripe.Enums.ErrorTypes" Version="4.0.70" />
<PackageVersion Include="Soenneker.Stripe.Enums.ErrorTypes" Version="4.0.70" />
<PackageReference Include="Soenneker.Stripe.Enums.ErrorTypes" />
paket add Soenneker.Stripe.Enums.ErrorTypes --version 4.0.70
#r "nuget: Soenneker.Stripe.Enums.ErrorTypes, 4.0.70"
#:package Soenneker.Stripe.Enums.ErrorTypes@4.0.70
#addin nuget:?package=Soenneker.Stripe.Enums.ErrorTypes&version=4.0.70
#tool nuget:?package=Soenneker.Stripe.Enums.ErrorTypes&version=4.0.70
Soenneker.Stripe.Enums.ErrorTypes
Provides strongly typed values for Stripe's broad API failure categories, including card, authentication, permission, rate-limit, idempotency, request, and server errors.
Installation
dotnet add package Soenneker.Stripe.Enums.ErrorTypes
Usage
using Soenneker.Stripe.Enums.ErrorTypes;
if (StripeErrorType.TryFromValue(stripeError.Type, out StripeErrorType? type))
{
if (type == StripeErrorType.RateLimitError)
{
// Retry according to the application's backoff policy.
}
}
Error types are coarse categories. Use the accompanying Stripe error code and decline code for more specific handling, and retain an unknown-value path so newer Stripe responses do not break error processing.
| 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
- Soenneker.Gen.EnumValues (>= 4.0.51)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Stripe.Enums.ErrorTypes:
| Package | Downloads |
|---|---|
|
Soenneker.Dtos.Stripe.Error
A strong type for Stripe's common error response |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.70 | 231 | 9/15/2026 |
| 4.0.69 | 82 | 9/15/2026 |
| 4.0.68 | 305 | 9/12/2026 |
| 4.0.66 | 556 | 9/7/2026 |
| 4.0.65 | 359 | 9/4/2026 |
| 4.0.64 | 383 | 8/31/2026 |
| 4.0.63 | 238 | 8/30/2026 |
| 4.0.62 | 203 | 8/29/2026 |
| 4.0.61 | 525 | 8/21/2026 |
| 4.0.60 | 380 | 8/18/2026 |
| 4.0.59 | 502 | 8/7/2026 |
| 4.0.58 | 358 | 7/28/2026 |
| 4.0.57 | 202 | 7/27/2026 |
| 4.0.56 | 735 | 7/17/2026 |
| 4.0.55 | 297 | 7/16/2026 |
| 4.0.54 | 889 | 7/3/2026 |
| 4.0.53 | 524 | 6/19/2026 |
| 4.0.52 | 999 | 6/18/2026 |
| 4.0.51 | 918 | 6/5/2026 |
| 4.0.50 | 124 | 6/5/2026 |
Update dependency Soenneker.Gen.EnumValues to 4.0.51 (#109)