StepWise.StepFunctionError exception (step_wise v0.6.1)

For errors returned / raised / thrown in step functions.

When Exception.message/1 is used, the original error will be returned, prefixed by a line from StepWise showing:

* if the error was raised or returned
* What module / name the function came from

Link to this section Summary

Link to this section Types

@type t() :: %StepWise.StepFunctionError{
  __exception__: true,
  func: function(),
  raised?: boolean(),
  stacktrace: Exception.stacktrace(),
  value: term()
}