Exception.blame_mfa
You're seeing just the function
blame_mfa
, go back to Exception module for more information.
Specs
blame_mfa(module(), function :: atom(), args :: [term()]) :: {:ok, :def | :defp | :defmacro | :defmacrop, [{args :: [term()], guards :: [term()]}]} | :error
Blames the invocation of the given module, function and arguments.
This function will retrieve the available clauses from bytecode
and evaluate them against the given arguments. The clauses are
returned as a list of {args, guards}
pairs where each argument
and each top-level condition in a guard separated by and
/or
is wrapped in a tuple with blame metadata.
This function returns either {:ok, definition, clauses}
or :error
.
Where definition
is :def
, :defp
, :defmacro
or :defmacrop
.