StaleClaim

org.llm4s.agent.graph.GraphError.StaleClaim
final case class StaleClaim(threadId: String, token: Long, current: Option[Long]) extends GraphError, NonRecoverableError

A commit, renewal or release presented a fencing token that is not the thread's current claim: the claim was taken over after it expired, was released, or never existed. A Checkpointer refuses such a commit atomically, applying nothing and numbering no event, so a writer that lost its claim cannot record anything after another run took the thread over. current is the token of the thread's current claim, if there is one.

Attributes

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

Members list

Value members

Inherited methods

def code: Option[String]

Optional error code for programmatic handling

Optional error code for programmatic handling

Attributes

Inherited from:
LLMError
def context: Map[String, String]

Additional context information

Additional context information

Attributes

Inherited from:
LLMError
def correlationId: Option[String]

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
def formatted: String

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val message: String

Human-readable error message

Human-readable error message

Attributes