View Source Matcha.Error behaviour (Matcha v0.1.6)

Standard behaviour for Matcha errors.

Link to this section Summary

Link to this section Types

@type error_problem() :: {:error, message()}
@type message() :: String.t() | charlist()
@type problem() :: error_problem() | warning_problem()
@type problems() :: [problem()]
@type warning_problem() :: {:warning, message()}

Link to this section Callbacks

@callback format_prelude(any()) :: String.t()
@callback format_source(any()) :: String.t()

Link to this section Functions