Do not raise reserved exception types

Proprietary

Avoid throwing Exception, SystemException, or ApplicationException. Use more specific exception types.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindDoNotRaiseReservedExceptionType
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindDoNotRaiseReservedExceptionType

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.