'Raise an arbitrary exception (type or value or (type, args)
or None - if reraising).  A reference to the argument is consumed.'

def raise_object(self, exc=None):

    fnty = Type.function(Type.void(), [self.pyobj])
    fn = self._get_function(fnty, name='numba_do_raise')
    if (exc is None):
        exc = self.make_none()
    return self.builder.call(fn, (exc,))
