class RequestException(Exception):
    """Exception to be raised when API request
    does not return valid data"""

    pass

class RequestException(Exception):
    """Exception to be raised when API request
    does not return valid data"""

    pass

Exception to be raised when API request     does not return valid data