Green.Rules.Exceptions.UseErrorSuffix
(green v0.1.3)
This cop warns if exceptions are defined with a suffix of Error
.
Examples
defmodule MyBad do
defexception message: "some error message"
end
In the example above, the exception should be named MyBadError
.