EncryptionError

org.llm4s.agent.encryption.EncryptionError
See theEncryptionError companion trait
@Experimental

Attributes

Companion
trait
Source
EncryptionError.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class DecryptionFailed(threadId: ThreadId, field: String, keyId: KeyId) extends EncryptionError, NonRecoverableError

field of thread threadId did not authenticate under key keyId: the key is not the one that wrote it, the ciphertext was changed, or it was written for another thread, tenant or place and moved here.

field of thread threadId did not authenticate under key keyId: the key is not the one that wrote it, the ciphertext was changed, or it was written for another thread, tenant or place and moved here.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class EncryptionFailed(threadId: ThreadId, field: String, cause: String) extends EncryptionError, NonRecoverableError

The JVM refused to encrypt field of thread threadId (cause is the exception's class): nothing was written.

The JVM refused to encrypt field of thread threadId (cause is the exception's class): nothing was written.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class InvalidKey(reason: String) extends EncryptionError, NonRecoverableError

A key or key id that cannot be used; reason says why without quoting it.

A key or key id that cannot be used; reason says why without quoting it.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class MalformedCiphertext(threadId: ThreadId, field: String) extends EncryptionError, NonRecoverableError

field of thread threadId is marked encrypted but is not a ciphertext this build reads: damaged, or a newer format.

field of thread threadId is marked encrypted but is not a ciphertext this build reads: damaged, or a newer format.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NoCurrentKey(tenantId: Option[TenantId]) extends EncryptionError, NonRecoverableError

The key source has no key to encrypt tenantId's payloads with. Nothing was written.

The key source has no key to encrypt tenantId's payloads with. Nothing was written.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NotEncrypted(threadId: ThreadId, field: String) extends EncryptionError, NonRecoverableError

field of thread threadId is stored in plain and plaintext reads are off (EncryptionSettings.plaintextReads): a row written before encryption was switched on, or one put there since.

field of thread threadId is stored in plain and plaintext reads are off (EncryptionSettings.plaintextReads): a row written before encryption was switched on, or one put there since.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnknownKey(keyId: KeyId) extends EncryptionError, NonRecoverableError

A stored payload names key keyId, which the key source does not hold: a retired key removed too early, or another deployment's.

A stored payload names key keyId, which the key source does not hold: a retired key removed too early, or another deployment's.

Attributes

Source
EncryptionError.scala
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala