def __init__(self, res, msg):
        """
        This exception wraps an error message and let's the caller to get the
        :class:`requests.Response` that failed
        """
        Exception.__init__(self, msg)
        self.res = res
def __init__ ( self , res , msg ) : Exception . __init__ ( self , msg ) self . res = res
This exception wraps an error message and let's the caller to get the
        :class:`requests.Response` that failed