Info
Version: | 2.0.0 |
Author(s): | Shahzad Adil |
Last Update: | Saturday, June 13, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/shahzadadil/api-error-handler |
NuGet Url: | https://www.nuget.org/packages/Basket.Api.Framework |
Install
Install-Package Basket.Api.Framework
dotnet add package Basket.Api.Framework
paket add Basket.Api.Framework
Basket.Api.Framework Download (Unzip the "nupkg" after downloading)
Dependencies
- Basket.Framework(>= 2.0.0)
- Microsoft.AspNetCore.Mvc.Core(>= 2.2.5)
Tags
There is also less fragmentation and no inconsistencies in response as it follows a pre-decided structure.
Users can just register an inbuilt middleware to handle all exceptions and errors and it will automatically catch all errors and return response in a fixed format every time. There are also a lot of factory methods available that can be used to return an error.
No more hassles and confusions on how to catch, format and return error responses.
Contains support for error handling middleware, factory methods for responses, logging support to use the registered logger.