TurnTrouble

works.iterative.claude.core.model.TurnTrouble

What stopped a turn before it answered.

A turn that ends badly ends in one of a few ways, and which one it was decides what the reader does next: a spent budget is asked again with less to do, a refused permission is granted, an API that did not answer is waited out, and a process that died is a fault to look into. Saying only that something went wrong makes all four read alike.

The cases are the kinds, not the vendor's words for them: the words the vendor filled in ride beside the kind, verbatim, and the sentence a reader reads is written where every other row's words are written.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case ApiFailed extends TurnTrouble

The API did not answer.

The API did not answer.

Attributes

case Crashed extends TurnTrouble

The process running the turn ended, so nothing said how it ended.

The process running the turn ended, so nothing said how it ended.

Nothing on the stream says this — there is no stream left. It is what a host has to say for itself when the query it was running failed.

Attributes

Something the turn tried to do was not permitted.

Something the turn tried to do was not permitted.

Attributes

case TurnsSpent extends TurnTrouble

The turn used up the steps it was allowed.

The turn used up the steps it was allowed.

Attributes

case Unexplained extends TurnTrouble

It ended badly and said no more than that.

It ended badly and said no more than that.

Attributes