class HttpQueryError(Exception):
    def __init__(self, status_code, message=None, is_graphql_error=False, headers=None):
        self.status_code = status_code
        self.message = message
        self.is_graphql_error = is_graphql_error
        self.headers = headers
        super(HttpQueryError, self).__init__(message)

    def __eq__(self, other):
        return isinstance(other, HttpQueryError) and \
            other.status_code == self.status_code and \
            other.message == self.message and \
            other.headers == self.headers

@@ -542,16 +542,109 @@
 == self.headers%0A
+%0A    def __hash__(self):%0A        return hash((self.status_code, self.message, self.headers))%0A

add __hash__ to HttpQueryError