pub async fn make_request_error(
        &self,
        method: Method,
        path: &str,
        expected_status: StatusCode,
    ) -> HttpErrorResponseBody {
        self.make_request_with_body(method, path, "".into(), expected_status)
            .await
            .unwrap_err()
    }
/**
     * Fetches a resource for which we expect to get an error response.
     */
Fetches a resource for which we expect to get an error response.
Fetches a resource for which we expect to get an error response .
pub async fn make_request_error(
        &self,
        method: Method,
        path: &str,
        expected_status: StatusCode,
    ) -> HttpErrorResponseBody {
        self.make_request_with_body(method, path, "".into(), expected_status)
            .await
            .unwrap_err()
    }
pub async fn make_request_error ( & self , method : Method , path : & str , expected_status : StatusCode , ) -> HttpErrorResponseBody { self . make_request_with_body ( method , path , " " . into ( ) , expected_status ) . await . unwrap_err ( ) }
Fetches a resource for which we expect to get an error response.
Fetches a resource for which we expect to get an error response .
&self
method
Method
path
&str
expected_status
StatusCode
&self
method
Method
path
&str
expected_status
StatusCode