ProcessingError

org.llm4s.error.ProcessingError
See theProcessingError companion object
final case class ProcessingError extends LLMError, NonRecoverableError

Raised when an internal processing operation fails, such as image or audio processing.

This is a NonRecoverableError: it indicates a failure in processing multimodal inputs (e.g., resampling audio, converting image formats) before sending them to the provider. This usually requires fixing the input media or addressing the underlying cause.

Value parameters

cause

optional underlying exception that caused the processing to fail

message

human-readable description of the processing failure

operation

the specific processing operation that failed (e.g., "audio-resample")

Attributes

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

Members list

Value members

Inherited methods

def code: Option[String]

Optional error code for programmatic handling

Optional error code for programmatic handling

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
final override def isRecoverable: Boolean

DEPRECATED: Use type-level markers instead

DEPRECATED: Use type-level markers instead

Attributes

Definition Classes
Inherited from:
NonRecoverableError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val context: Map[String, String]

Additional context information

Additional context information

Attributes