Enum cubist_proxy::HttpRrErr
source · Expand description
An error message for an HTTP Request/Response pipeline. This is either a wrapper around a Result or a fatal error that should kill the pipeline.
As with JsonRpcErr, the idea is that individual elements of the pipeline should generate detailed error messages and then pass them along the pipeline wrapped in HttpRrErr.
Variants§
Trait Implementations§
source§impl Error for HttpRrErr
impl Error for HttpRrErr
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + '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<Error> for HttpRrErr
impl From<Error> for HttpRrErr
source§fn from(other: JsonParseError) -> Self
fn from(other: JsonParseError) -> Self
Converts to this type from the input type.
source§impl From<JsonRpcErr> for HttpRrErr
impl From<JsonRpcErr> for HttpRrErr
source§fn from(other: JsonRpcErr) -> Self
fn from(other: JsonRpcErr) -> Self
Converts to this type from the input type.