[][src]Function octocrab::map_github_error

pub async fn map_github_error(response: Response) -> Result<Response>

Maps a GitHub error response into and Err() variant if the status is not a success.