TransientServiceError

org.llm4s.imagegeneration.TransientServiceError
final case class TransientServiceError(message: String, statusCode: Int) extends ServiceError, RecoverableError

A ServiceError with a transient status: trying again can help.

Attributes

Graph
Supertypes
trait ServiceError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def code: Option[String]

Optional error code for programmatic handling

Optional error code for programmatic handling

Attributes

Definition Classes
Inherited from:
ServiceError
def context: Map[String, String]

Additional context information

Additional context information

Attributes

Inherited from:
LLMError
def correlationId: Option[String]

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
def formatted: String

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
def maxRetries: Int

Maximum number of retry attempts recommended.

Maximum number of retry attempts recommended.

Attributes

Inherited from:
RecoverableError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def retryDelay: Option[FiniteDuration]

Suggested delay before retrying.

Suggested delay before retrying.

Attributes

Inherited from:
RecoverableError