Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 634 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 634 Bytes

A set of Roslyn analyzers inspired by The art of designing exceptions. A detailed description of currently implemented rules can be find in Exception usage analyzer article.

Currently implemented rules:

  • EX001: Don not use generic exception types
  • EX002: Use context aware exception constructor
  • EX003: Always provide inner exception when throw from the catch clauses
  • EX005: Use parameter related exception only for method parameters
  • EX006: Do not write logic driven by exceptions.