AnthropicStreamError

data class AnthropicStreamError(val type: String, val message: String? = null)(source)

Represents an error that occurred during Anthropic streaming response processing.

This data class encapsulates error information received from the Anthropic API during streaming operations, providing details about the type and nature of the error.

Constructors

Link copied to clipboard
constructor(type: String, message: String? = null)

Properties

Link copied to clipboard
val message: String? = null

An optional descriptive message providing additional details about the error. Defaults to null if no message is provided.

Link copied to clipboard

The type or category of the error that occurred.