org.llm4s.metrics.ErrorKind
See theErrorKind companion trait
object ErrorKind
Attributes
Members list
Type members
Classlikes
case object Authentication extends ErrorKind
Missing, invalid, or unauthorized credentials.
Missing, invalid, or unauthorized credentials.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ErrorKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
Authentication.type
case object ExecutionError extends ErrorKind
Local execution failure outside the provider API.
Local execution failure outside the provider API.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ErrorKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExecutionError.type
case object ServiceError extends ErrorKind
Provider-side service error.
Provider-side service error.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ErrorKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
ServiceError.type
Fallback category when no more specific kind is available.
case object Validation extends ErrorKind
Invalid request, schema, or configuration input.
Invalid request, schema, or configuration input.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ErrorKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
Validation.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Map LLMError to stable ErrorKind.
Map LLMError to stable ErrorKind.
Value parameters
- error
-
LLM error
Attributes
- Returns
-
Categorized error kind
In this article