Skip to main content

handle_error_response

def handle_error_response(status_code: int,
                          response_headers: Mapping[str, str],
                          message=None,
                          context=None)
Checks server response. Called if HTTP response status code is an error response.