AssistantError

org.llm4s.error.AssistantError
See theAssistantError companion object
sealed abstract class AssistantError extends Product, Serializable

Assistant-specific error types with rich context and formatting

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class DisplayError
class EOFError
class FileError
class IOError
class SessionError
Show all

Members list

Value members

Abstract methods

def message: String

Human-readable error message

Human-readable error message

Attributes

Concrete methods

def context: Map[String, String]

Additional context information

Additional context information

Attributes

def formatted: String

Converts to a formatted error message with context

Converts to a formatted error message with context

Attributes

Inherited methods

def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product