rspec/rules/S2166/description.adoc
2021-01-27 13:42:22 +01:00

2 lines
345 B
Plaintext

Clear, communicative naming is important in code. It helps maintainers and API users understand the intentions for and uses of a unit of code. Using "exception" in the name of a class that does not extend ``++Exception++`` or one of its subclasses is a clear violation of the expectation that a class' name will indicate what it is and/or does.