Skip to content

cezarypiatek/ExceptionAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A set of Roslyn analyzers related to exceptions usages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published