Credo.Execution.ensure_execution_struct
You're seeing just the function
ensure_execution_struct
, go back to Credo.Execution module for more information.
Ensures that the given value
is a %Credo.Execution{}
struct, raises an error otherwise.
Example:
exec
|> mod.init()
|> Credo.Execution.ensure_execution_struct("#{mod}.init/1")