Basket.Api.Framework NuGet Package

Allows developers to handle API errors through middleware and returns a consistent response in case of errors rather than implementing their own solutions.

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.




Got any Basket.Api.Framework Question?





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)



Tags



STATS

must-have-score

.8

avg-downloads-per-day

0

days-since-last-release

1417