org.llm4s.error.SystemError
See theSystemError companion object
final case class SystemError extends LLMError, RecoverableError
System-level errors for unexpected exceptions that may be transient.
Represents unexpected system failures such as resource exhaustion, temporary unavailability, or other transient issues. As a RecoverableError, these can be retried with appropriate backoff strategies.
Value parameters
- cause
-
Optional underlying exception
- message
-
Human-readable error description
Attributes
- Example
-
val error = SystemError("Unexpected memory allocation failure", Some(cause)) error.context // Map("exceptionType" -> "OutOfMemoryError") - Companion
- object
- Graph
-
- Supertypes
-
trait RecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article