TransientImageServiceError

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

An ImageServiceError with a transient status: trying again can help.

Attributes

Source
ImageGeneration.scala
Graph
Supertypes
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:
ImageServiceError
Source
ImageGeneration.scala

Additional context information

Additional context information

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Maximum number of retry attempts recommended.

Maximum number of retry attempts recommended.

Attributes

Inherited from:
RecoverableError
Source
RecoverableError.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Suggested delay before retrying.

Suggested delay before retrying.

Attributes

Inherited from:
RecoverableError
Source
RecoverableError.scala