ExceptionHandlingStrategies

Exceptions are irrelevant, untill they occur.

Then, they are absolutely central. A mundane task of adding the same behaviour of displaying the error message to the screen or logging it to file or event log is wasteful and can lead to errors.

The package reduces the amount of bloat to zero using strategy pattern (a.k.a. policy-based design).

Package provides .NET Standard Infrastructure (.NET Core & .NET Classic comaptible) for creating error handling policy classes with couple of basic implementations:
Log exception policy
Collect and ignore exception policy
Ignore exception policy
Aggregated wrapper for exception policies
Customizable exception filter.

Info

Version: 2.0.0
Author(s): Piotr Falkowski
Last Update: Sunday, January 21, 2018
.NET Fiddle:
Project Url: https://github.com/PFalkowski/ErrorHandling
NuGet Url: https://www.nuget.org/packages/ExceptionHandlingStrategies


Install
Install-Package ExceptionHandlingStrategies
dotnet add package Z.EntityFramework.Plus.EF6
paket add ExceptionHandlingStrategies
ExceptionHandlingStrategies Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1.8

avg-downloads-per-day

2

days-since-last-release

150