Info
Version: | 2.0.0 |
Author(s): | Piotr Falkowski |
Last Update: | Sunday, January 21, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/PFalkowski/ErrorHandling |
NuGet Url: | https://www.nuget.org/packages/ExceptionHandlingStrategies |
Install
Install-Package ExceptionHandlingStrategies
dotnet add package ExceptionHandlingStrategies
paket add ExceptionHandlingStrategies
ExceptionHandlingStrategies Download (Unzip the "nupkg" after downloading)
Dependencies
- LoggerLite(>= 1.0.0)
Tags
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.