Dogma v0.1.16 Dogma.Rule.ExceptionName

A Rule that checks that exception names end with a trailing Error.

For example, prefer this:

defmodule BadHTTPCodeError do
  defexception [:message]
end

Not one of these:

defmodule BadHTTPCode do
  defexception [:message]
end

defmodule BadHTTPCodeException do
  defexception [:message]
end

Summary

Functions

Callback implementation for c:Dogma.Rule.test/2

Functions

block_children_as_list(children)
test(rule, script)

Callback implementation for c:Dogma.Rule.test/2.