Module turn_stop
Expand description
Typed stop taxonomy for the agent turn path.
Every control-flow abort on the turn path carries a TurnStop so
callers classify by downcast instead of matching on message text. The
Display of a TurnStop is exactly its detail, so an error tagged this
way stringifies identically to the anyhow::bail! it replaced and the
existing string heuristics keep working as the fallback for errors that
originate outside our code (raw transport errors, provider bodies).
Structs§
- Turn
Stop - A typed control-flow abort on the turn path.
Enums§
- Turn
Stop Class - How the turn should be treated once it stopped.
- Turn
Stop Code - What stopped the turn.