Skip to main content

new_network_error_with_cause

Function new_network_error_with_cause 

Source
pub fn new_network_error_with_cause(
    code: u16,
    message: &str,
    details: &str,
    temporary: bool,
    cause: Option<Error>,
) -> Error
Expand description

Create a new network error wrapping an underlying reqwest cause.