Skip to main content

call_logged

Function call_logged 

Source
pub(crate) fn call_logged(
    method: &str,
    result: Result<Response, Error>,
) -> Result<Response, ApiError>
Expand description

Run a request, logging the response like httpx and turning HTTP errors into ApiError.