View Source Bonfire.Epics.Epic (bonfire v0.3.5-classic-beta.4)

Link to this section Summary

Link to this section Types

@type t() :: %Bonfire.Epics.Epic{
  assigns: %{optional(atom()) => any()},
  errors: [any()],
  next: [Bonfire.Epics.Act.t()],
  prev: [Bonfire.Epics.Act.t()]
}

Link to this section Functions

Link to this function

add_error(epic, act, error)

View Source
Link to this function

add_error(epic, act, error, source \\ nil, stacktrace \\ nil)

View Source
Link to this function

assign(self, name, value)

View Source
Link to this macro

debug(epic, thing, label \\ "")

View Source (macro)
Link to this function

from_config!(module, name)

View Source

Loads an epic from the app's config

Loads an epic from a specification of steps

Link to this macro

maybe_debug(epic, thing, label \\ "")

View Source (macro)
Link to this function

update(self, name, default, fun)

View Source