Dsxir.Errors.Framework.CycleDetected exception (dsxir v0.2.0)

Copy Markdown

Raised by the executor when topological sort detects a cycle. The validator already proves runtime programs are acyclic, so this surfaces a framework-invariant breach (someone bypassed the validator).

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Dsxir.Errors.Framework.CycleDetected{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  nodes: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Dsxir.Errors.Framework.CycleDetected without raising it.

Keys

  • :nodes