ServiceError

org.llm4s.imagegeneration.ServiceError
See theServiceError companion trait
object ServiceError

Attributes

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

Members list

Type members

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

def apply(message: String, statusCode: Int): ServiceError
def isTransientStatus(statusCode: Int): Boolean

Statuses worth retrying: no answer (0), request timeout (408), rate limited (429) and every 5xx.

Statuses worth retrying: no answer (0), request timeout (408), rate limited (429) and every 5xx.

Attributes

def unapply(error: ServiceError): Some[(String, Int)]