Information

Description
Add extension method for ExceptionManager to support exception handling in async actions and functions. public static async Task<TResult>ProcessAsync<TResult>(this ExceptionManager exceptionManager, string policyName, Func<Task<TResult>> action, TResult defaultValue) public static async Task ProcessAsync(this ExceptionManager exceptionManager, string policyName, Func<Task> action) Add "ExceptionPolicyDefinitionFactory" class which is able to create default "ExceptionPolicyDefinition" for implementing exception shielding for component and support customization of it. 1. rethrow all exceptions derived from component base exception <typeparamref name="TBaseException"/> 2. rethrow <see cref="OperationCanceledException"/> 3. wrap generic exceptions to component specific exception <typeparamref name="TBaseException"/>
Version
1.0.2
Project Url
https://github.com/IharYakimush/EntLibLight
View on NuGet: http://www.nuget.org/packages/EntLibExtensions.ExceptionHandling

Dependencies

Here are the packages that version 1.0.2 of EntLibExtensions.ExceptionHandling depends on.

EnterpriseLibrary.Common.NetCore : (6.0.1312) EnterpriseLibrary.ExceptionHandling.Logging.NetCore : (6.0.1312)

Authors

 

Installing with NuGet

PM> Install-Package EntLibExtensions.ExceptionHandling

Packages that Depend on EntLibExtensions.ExceptionHandling

No packages were found that depend on version 1.0.2.