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 72 11/17/2024
2.19.11 89 10/16/2024
2.19.8 79 9/22/2024
2.19.5 107 8/20/2024
2.19.0 105 7/24/2024
2.18.14 97 7/1/2024
2.18.11 104 6/8/2024
2.18.4 99 5/22/2024
2.18.0 114 4/30/2024
2.17.0 103 4/15/2024
2.16.21 121 3/27/2024
2.16.20 97 3/26/2024
2.16.16 120 3/11/2024
2.16.15 115 3/10/2024
2.16.9 105 2/26/2024
2.16.1 137 2/11/2024
2.15.0 112 1/21/2024
2.14.0 148 1/7/2024
2.12.1 138 12/24/2023
2.11.1 124 12/10/2023
2.10.0 116 11/27/2023
2.9.1 124 11/12/2023
2.8.1 151 10/21/2023
2.6.1 127 10/9/2023
2.4.0 124 9/24/2023
2.0.5 133 9/10/2023
2.0.0 155 8/24/2023
2.0.0-rc5 126 8/12/2023
2.0.0-rc4 116 8/6/2023
2.0.0-rc3 142 7/23/2023
2.0.0-rc2 114 7/9/2023
2.0.0-rc 130 6/18/2023
2.0.0-alpha 109 6/12/2023
1.0.4 160 5/21/2023
1.0.3 144 5/14/2023
1.0.1 144 5/8/2023
1.0.0 139 5/8/2023