def border(self, color, width, height):
        if not isinstance(color, Color):
            raise TypeError('color must be a wand.color.Color object, not ' +
                            repr(color))
        with color:
            result = library.MagickBorderImage(self.wand, color.resource,
                                               width, height)
        if not result:
            self.raise_exception()
When an error occurs.
dataset/ETHPy150Open dahlia/wand/wand/image.py/Image.border--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/ProtocolError.__init__