LeaseLost

org.llm4s.agent.service.QueueError.LeaseLost
final case class LeaseLost(entryId: EntryId, token: LeaseToken, current: Option[LeaseToken]) extends QueueError, NonRecoverableError

A call made under the lease token on entry entryId was refused: that lease is not the entry's current one - another worker took the entry over after the lease expired, or it was released. current is the current lease's token, if the entry is leased.

Attributes

Graph
Supertypes
trait QueueError
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