'Check if response contains any errors.
@raise: :class:`InvalidCredsError`
:rtype:  :class:`ElementTree`
:return: Contents of HTTP response body.'

def parse_error(self):

    if (int(self.status) == httplib.UNAUTHORIZED):
        raise InvalidCredsError(self.body)
    return self.body
