Skip to main content

check_status

Function check_status 

Source
fn check_status(
    endpoint: &str,
    status: StatusCode,
    body: &str,
) -> Result<(), OnePasswordError>
Expand description

Turns an error status into the error its body describes.