CustomLibrary.ProblemDetails 1.0.29

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package CustomLibrary.ProblemDetails --version 1.0.29                
NuGet\Install-Package CustomLibrary.ProblemDetails -Version 1.0.29                
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="CustomLibrary.ProblemDetails" Version="1.0.29" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CustomLibrary.ProblemDetails --version 1.0.29                
#r "nuget: CustomLibrary.ProblemDetails, 1.0.29"                
#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.
// Install CustomLibrary.ProblemDetails as a Cake Addin
#addin nuget:?package=CustomLibrary.ProblemDetails&version=1.0.29

// Install CustomLibrary.ProblemDetails as a Cake Tool
#tool nuget:?package=CustomLibrary.ProblemDetails&version=1.0.29                

CustomLibrary.ProblemDetails

Collection of tools related to problem management (exceptions) that can be generated by applications.

This library is an ad hoc code customization used in my private/work projects thus avoiding the duplication of repetitive code.

How to use ?

A full example is available in the CustomLibrary.ProblemDetails.Sample folder or click here.

Note: For correct operation it is necessary to add services.AddProblemDetails(); and app.UseProblemDetails(); to the Program class or in the Startup class

List of Exception Responses

Status Codes Exception Status
304 NotModifiedException available
400 BadRequestException available
401 UnauthorizedException available
403 ForbiddenException available
404 NotFoundException available
405 NotAllowedException available
406 NotAcceptableException available
408 RequestTimeoutException available
409 ConflictException available
422 UnprocessableEntityException available
500 InternalServerErrorException available
501 NotImplementedException available
502 BadGatewayException coming soon
503 ServiceUnavailableException coming soon
504 GatewayTimeoutException coming soon

Contributing

Contributions and/or suggestions are always welcome.

License

GitHub License

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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