QueueError

org.llm4s.agent.service.QueueError
See theQueueError companion trait
@Experimental
object QueueError

Attributes

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

Members list

Type members

Classlikes

final case class EntryClosed(entryId: EntryId, outcome: EntryOutcome) extends QueueError, NonRecoverableError

Entry entryId is closed (outcome), so nothing more can be done under a lease on it.

Entry entryId is closed (outcome), so nothing more can be done under a lease on it.

Attributes

Supertypes
trait QueueError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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.

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

Supertypes
trait QueueError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SubmissionKeyReused(key: SubmissionKey, entryId: EntryId) extends QueueError, NonRecoverableError

The submission key names an entry the store holds for a different submission.

The submission key names an entry the store holds for a different submission.

Attributes

Supertypes
trait QueueError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class TicketExpired(entryId: EntryId) extends QueueError, NonRecoverableError

Entry entryId was closed and then reclaimed once its ticket lifetime passed: its outcome is no longer known. Answered, instead of TicketNotFound, for every id the store issued that it no longer holds for the caller's tenant - so it never tells another tenant's live entry from a reclaimed one.

Entry entryId was closed and then reclaimed once its ticket lifetime passed: its outcome is no longer known. Answered, instead of TicketNotFound, for every id the store issued that it no longer holds for the caller's tenant - so it never tells another tenant's live entry from a reclaimed one.

Attributes

Supertypes
trait QueueError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class TicketNotFound(entryId: EntryId) extends QueueError, NonRecoverableError

No entry entryId of the caller's tenant: the store never issued the id, or the entry is another tenant's. A store that cannot tell a reclaimed entry from an unknown one answers this for both.

No entry entryId of the caller's tenant: the store never issued the id, or the entry is another tenant's. A store that cannot tell a reclaimed entry from an unknown one answers this for both.

Attributes

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