README

harnais_error: The Exception for the Harnais Package Family

Harnais.Error is a versatile Exception catering for the needs of the package family.

It support a custom formatter for Exception.message/1.

It also supports exporting the exception using either the default exporter or a custom one.

Installation

Add harnais_error to your list of dependencies in mix.exs:

def deps do
  [{:harnais_error, "~> 0.1.0"}]
end

Examples

See the examples in the API Reference.