def __str__(self):
        try:
            error_str = '%s: %s' % (errno.errorcode[-self.error],
                                    os.strerror(-self.error))
        except __HOLE__:
            error_str = str(self.error)
        return '%s. Extra info: %s' % (error_str, self.msg)
dataset/ETHPy150Open facebook/gnlpy/netlink.py/ErrorMessage.__str__