TenantMismatch

org.llm4s.agent.graph.GraphError.TenantMismatch
final case class TenantMismatch(threadId: String, requested: Option[String]) extends GraphError, NonRecoverableError

The run's tenant is not the thread's: a thread belongs to the tenant recorded on its latest checkpoint, and requested (the caller's RunConfig.tenantId) is not it. None and Some differ. Nothing was changed. The owning tenant is deliberately not carried or printed, so a caller from another tenant learns nothing about the thread.

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