Raising an exception while using numba Raising an exception while using numba numpy numpy