AshStateMachine.Errors.NoMatchingTransition exception (ash_state_machine v0.2.8)

View Source

Used when a state change occurs in an action with no matching transition

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshStateMachine.Errors.NoMatchingTransition{
  __exception__: true,
  action: term(),
  bread_crumbs: term(),
  class: term(),
  old_state: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  target: term(),
  vars: term()
}

Create an Elixir.AshStateMachine.Errors.NoMatchingTransition without raising it.

Keys

  • :action
  • :target
  • :old_state