PoliNorError 2.19.15

dotnet add package PoliNorError --version 2.19.15                
NuGet\Install-Package PoliNorError -Version 2.19.15                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PoliNorError" Version="2.19.15" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PoliNorError --version 2.19.15                
#r "nuget: PoliNorError, 2.19.15"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PoliNorError as a Cake Addin
#addin nuget:?package=PoliNorError&version=2.19.15

// Install PoliNorError as a Cake Tool
#tool nuget:?package=PoliNorError&version=2.19.15                

PoliNorError is a library that provides error handling capabilities through Retry and Fallback policies or processors.
Also provides SimplePolicy and TryCatch mimicking.
The library can also handle potential exceptions within the catch block and offers various configuration options.

var result = 
	new RetryPolicy(2)

	.IncludeError<SomeException>()

	.WithErrorProcessorOf((Exception ex, ProcessingErrorInfo pi) =>
		logger.LogError(ex, 
		"Policy processed exception on {Attempt} attempt:", 
		(pi as RetryProcessingErrorInfo).RetryCount + 1))

	.AddPolicyResultHandler((PolicyResult pr) =>
		logger.LogWarning(
		"{Errors} exceptions were thrown.",
		pr.Errors.Count()))

	.Handle(ActionThatCanThrowSomeException);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.19.15 85 11/17/2024
2.19.11 93 10/16/2024
2.19.8 83 9/22/2024
2.19.5 111 8/20/2024
2.19.0 109 7/24/2024
2.18.14 101 7/1/2024
2.18.11 108 6/8/2024
2.18.4 103 5/22/2024
2.18.0 118 4/30/2024
2.17.0 107 4/15/2024
2.16.21 125 3/27/2024
2.16.20 101 3/26/2024
2.16.16 124 3/11/2024
2.16.15 119 3/10/2024
2.16.9 109 2/26/2024
2.16.1 143 2/11/2024
2.15.0 116 1/21/2024
2.14.0 152 1/7/2024
2.12.1 142 12/24/2023
2.11.1 128 12/10/2023
2.10.0 120 11/27/2023
2.9.1 128 11/12/2023
2.8.1 155 10/21/2023
2.6.1 131 10/9/2023
2.4.0 128 9/24/2023
2.0.5 137 9/10/2023
2.0.0 159 8/24/2023
2.0.0-rc5 128 8/12/2023
2.0.0-rc4 118 8/6/2023
2.0.0-rc3 146 7/23/2023
2.0.0-rc2 116 7/9/2023
2.0.0-rc 132 6/18/2023
2.0.0-alpha 111 6/12/2023
1.0.4 164 5/21/2023
1.0.3 148 5/14/2023
1.0.1 148 5/8/2023
1.0.0 143 5/8/2023