Dialyxir.Formatter behaviour (Dialyxir v1.4.3) View Source

Elixir-friendly dialyzer formatter.

Wrapper around normal Dialyzer warning messages that provides example output for error messages.

Link to this section Summary

Link to this section Types

Specs

t() :: module()

Specs

warning() ::
  {tag :: term(), {file :: Path.t(), location :: :erl_anno.location()},
   {atom(), list()}}

Link to this section Functions

Link to this function

format_and_filter(warnings, filterer, filter_map_args, formatter, quiet_with_result? \\ false)

View Source

Specs

format_and_filter([tuple()], module(), Keyword.t(), t(), boolean()) :: tuple()
Link to this function

formatted_time(duration_us)

View Source

Link to this section Callbacks

Specs

format(warning()) :: String.t()