GraphError

org.llm4s.agent.graph.GraphError
See theGraphError companion trait
object GraphError

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
GraphError.type

Members list

Type members

Classlikes

final case class CheckpointConflict(threadId: String, expected: Option[String], actual: Option[String]) extends GraphError

A new checkpoint's parent is not the thread's latest: another writer advanced the thread.

A new checkpoint's parent is not the thread's latest: another writer advanced the thread.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class CheckpointWriteFailed(threadId: String, cause: LLMError, runError: Option[LLMError]) extends GraphError

The checkpointer refused or failed a commit; the run stops at its last durable checkpoint. runError is the run's own failure when the commit failed while recording it.

The checkpointer refused or failed a commit; the run stops at its last durable checkpoint. runError is the run's own failure when the commit failed while recording it.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ForeignExecution(graphId: String) extends GraphError

An execution was passed to a graph other than the one that created or restored it.

An execution was passed to a graph other than the one that created or restored it.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class IncompleteRun(threadId: String, checkpointId: String) extends GraphError

start was called on a thread whose latest checkpoint is mid-execution; use recover.

start was called on a thread whose latest checkpoint is mid-execution; use recover.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class InvalidCommit(threadId: String, reason: String) extends GraphError

A commit is malformed, such as a pending write naming a checkpoint other than the latest.

A commit is malformed, such as a pending write naming a checkpoint other than the latest.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class InvalidGraph(graphId: String, problems: List[String]) extends GraphError

The builder found one or more structural problems; every problem is listed.

The builder found one or more structural problems; every problem is listed.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class InvalidRoute(nodeId: NodeId, taskId: TaskId, reason: String) extends GraphError

A node returned a route this graph cannot schedule.

A node returned a route this graph cannot schedule.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NodeFailed(nodeId: NodeId, taskId: TaskId, cause: LLMError) extends GraphError

A node returned a failure or threw.

A node returned a failure or threw.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NothingToRecover(threadId: String) extends GraphError

recover was called on a thread with no incomplete execution.

recover was called on a thread with no incomplete execution.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ReplayUnavailable(threadId: String, earliestSeq: Long) extends GraphError

Events before earliestSeq were compacted away and cannot be replayed.

Events before earliestSeq were compacted away and cannot be replayed.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class RestoreRejected(graphId: String, problems: List[String]) extends GraphError

A snapshot does not match this compiled graph; every problem is listed.

A snapshot does not match this compiled graph; every problem is listed.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class StateUpdateFailed(keyId: StateKeyId, cause: LLMError) extends GraphError

A key's update function rejected an update.

A key's update function rejected an update.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SuperstepLimitExceeded(limit: Int) extends GraphError

The run reached its superstep limit with work still scheduled.

The run reached its superstep limit with work still scheduled.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UndeclaredWrite(nodeId: NodeId, taskId: TaskId, keyId: StateKeyId) extends GraphError

A node emitted an update for a key outside its declared write set.

A node emitted an update for a key outside its declared write set.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnknownStateKey(keyId: StateKeyId) extends GraphError

A key was read or written that the graph did not register, or another key shares its id.

A key was read or written that the graph did not register, or another key shares its id.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnsatisfiedJoin(joinId: JoinId, missing: List[String]) extends GraphError

The graph went quiescent while a join still waited for arrivals that nothing can produce.

The graph went quiescent while a join still waited for arrivals that nothing can produce.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnsupportedCheckpointFormat(found: Int, supported: Int) extends GraphError

A checkpoint was written in a format this build does not read.

A checkpoint was written in a format this build does not read.

Attributes

Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror