AiutaTryOnGenerationException

class AiutaTryOnGenerationException(val type: AiutaTryOnExceptionType, val message: String? = "Failed to generate image, type of error - ", val abortReason: AiutaTryOnAbortReason? = null) : RuntimeException

Thrown when a try-on generation fails at any stage of the pipeline.

Constructors

Link copied to clipboard
constructor(type: AiutaTryOnExceptionType, message: String? = "Failed to generate image, type of error - ", abortReason: AiutaTryOnAbortReason? = null)

Properties

Link copied to clipboard

The reason the operation was aborted by the backend. Only present when type is AiutaTryOnExceptionType.OPERATION_ABORTED_FAILED; null otherwise.

Link copied to clipboard
open override val message: String?

Human-readable error details. Defaults to a message derived from type.

Link copied to clipboard

The stage/category of failure, see AiutaTryOnExceptionType.