Enum ark_api::http_client::Error
source · pub enum Error {
FFIError(ApiError),
Error(Error),
Other(Box<dyn StdError + Send + Sync>),
InvalidHttpVersion(u32),
}Expand description
Errors returned by the HTTP Client API.
Variants§
FFIError(ApiError)
An error that occurred in the FFI layers.
Error(Error)
An HTTP error while processing a request or response.
Other(Box<dyn StdError + Send + Sync>)
Another error from the protocol layer.
InvalidHttpVersion(u32)
An invalid HTTP version was found.
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Infallible> for Error
impl From<Infallible> for Error
source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.