ExceptionAnalyzer 1.0.5
dotnet add package ExceptionAnalyzer --version 1.0.5
NuGet\Install-Package ExceptionAnalyzer -Version 1.0.5
<PackageReference Include="ExceptionAnalyzer" Version="1.0.5" />
paket add ExceptionAnalyzer --version 1.0.5
#r "nuget: ExceptionAnalyzer, 1.0.5"
// Install ExceptionAnalyzer as a Cake Addin #addin nuget:?package=ExceptionAnalyzer&version=1.0.5 // Install ExceptionAnalyzer as a Cake Tool #tool nuget:?package=ExceptionAnalyzer&version=1.0.5
Simple analyzer that warns about the most common code smells related to excpetion handling.
Learn more about Target Frameworks and .NET Standard.
This package has 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.
Supported features
- Warning for `throw new Exception("");` from the catch block
- Warning for `throw ex;` with a fix to `throw;`.
- Warning and fix for empty generic catch block and `catch(Exception){}`.
- Warning for swallowed exceptions in the `catch(Exception ex)` blocks
- Warning for using `ex.Message` if this is the only exception observation. With a fix!