Skip to main content
EntLibExtensions.ExceptionHandling package icon

EntLibExtensions.ExceptionHandling

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"/>

Total Downloads
3.4K
3,424
Published
Mar 24, 2017
Latest stable version

Install

.NET CLI
dotnet add package EntLibExtensions.ExceptionHandling --version 1.0.2
Package Manager Console
Install-Package EntLibExtensions.ExceptionHandling -Version 1.0.2
PackageReference
<PackageReference Include="EntLibExtensions.ExceptionHandling" Version="1.0.2" />

Frameworks

No framework metadata available.

Dependencies

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.