C#-CSharpNoCatchAllExceptionsClauseΒΆ

Do not use a single clause for catching all exceptions

Required inputs: CSharpAST

This rule checks that a try/catch block does not have a single catch clause catching System.Exception.

Possible Messages

Key

Text

Severity

Disabled

single_catch_all

Single clause for catching all exceptions used.

None

False

Options