def create(self, name, *args, **kwargs):
        try:
            return super(ImageMemberManager, self).create(name, *args, **kwargs)
        except Exception as e:
            if e.http_status == 403:
                raise exc.UnsharableImage("You cannot share a public image.")
            else:
                raise
Need to wrap the default call to handle exceptions.
dataset/ETHPy150Open rackspace/pyrax/pyrax/image.py/ImageMemberManager.create