ReqwestStreamingError

Type Alias ReqwestStreamingError 

Source
pub type ReqwestStreamingError = ClientStreamingError;
Available on crate feature streaming only.
Expand description

Type alias for reqwest streaming errors, using the unified streaming error system

Aliased Type§

pub enum ReqwestStreamingError {
    Client {
        client: String,
        error: Box<dyn Error + Send + Sync>,
    },
    HttpCache(StreamingError),
    Other(Box<dyn Error + Send + Sync>),
}

Variants§

§

Client

Client-specific streaming error with context

Fields

§client: String

The name of the client library (e.g., “reqwest”, “tower”)

§error: Box<dyn Error + Send + Sync>

The underlying client error

§

HttpCache(StreamingError)

HTTP cache streaming error (delegated to StreamingError)

§

Other(Box<dyn Error + Send + Sync>)

Other streaming error