RerankError

org.llm4s.reranker.RerankError
final case class RerankError(code: Option[String], message: String, provider: String) extends LLMError

Error from a reranking operation.

Value parameters

code

Error code (HTTP status or provider-specific)

message

Human-readable error message

provider

Provider name (cohere, llm, etc.)

Attributes

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

Members list

Value members

Inherited methods

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

Deprecated and Inherited methods

def isRecoverable: Boolean

DEPRECATED: Use type-level markers instead

DEPRECATED: Use type-level markers instead

Attributes

Deprecated
[Since version 0.1.9] Use pattern matching on RecoverableError/NonRecoverableError traits
Inherited from:
LLMError

Concrete fields

override val context: Map[String, String]

Additional context information

Additional context information

Attributes

override val correlationId: Option[String]

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes