org.llm4s.error.LLMError
See theLLMError companion object
trait LLMError extends Product, Serializable
Enhanced comprehensive error hierarchy for LLM operations using ADTs.
This replaces the simple org.llm4s.llmconnect.model.LLMError with a much more comprehensive error system.
Key improvements over legacy version:
- Structured context information
- Recovery guidance built-in - Trait-based recoverability
- Provider-agnostic design
- Rich error formatting
- Type-safe error handling
- Private case class constructors with smart constructors
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Known subtypes
-
trait OrchestrationErrorclass AgentTimeoutErrorclass NodeExecutionErrorclass PlanExecutionErrorclass PlanValidationErrorclass TypeMismatchErrorclass APIErrorclass AuthenticationErrorclass ConfigurationErrorclass ContextErrorclass ExecutionErrorclass InvalidInputErrorclass NetworkErrorclass NotFoundErrorclass ProcessingErrorclass RateLimitErrorclass ServiceErrorclass SimpleErrorclass SystemErrorclass TimeoutErrorclass TokenizerErrorclass UnknownErrorclass ValidationErrorclass EmbeddingErrorclass EvaluationErrorclass RerankErrortrait AudioIOErrorclass SaveFailedtrait WavErrorclass WavGenerationFailedclass WavSaveFailedtrait STTErrorclass EngineNotAvailableclass ProcessingFailedclass UnsupportedFormattrait TTSErrorclass EngineNotAvailableclass SynthesisFailed
Members list
In this article