ErrorKind

org.llm4s.metrics.ErrorKind
See theErrorKind companion trait
object ErrorKind

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ErrorKind.type

Members list

Type members

Classlikes

case object Authentication extends ErrorKind

Missing, invalid, or unauthorized credentials.

Missing, invalid, or unauthorized credentials.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
case object ExecutionError extends ErrorKind

Local execution failure outside the provider API.

Local execution failure outside the provider API.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
case object Network extends ErrorKind

Network transport or connectivity failure.

Network transport or connectivity failure.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
Network.type
case object RateLimit extends ErrorKind

Provider or gateway rate limit.

Provider or gateway rate limit.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
RateLimit.type
case object ServiceError extends ErrorKind

Provider-side service error.

Provider-side service error.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
case object Timeout extends ErrorKind

Request or operation timeout.

Request or operation timeout.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
Timeout.type
case object Unknown extends ErrorKind

Fallback category when no more specific kind is available.

Fallback category when no more specific kind is available.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
Unknown.type
case object Validation extends ErrorKind

Invalid request, schema, or configuration input.

Invalid request, schema, or configuration input.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ErrorKind
class Object
trait Matchable
class Any
Show all
Self type
Validation.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

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