def METHOD_NAME(self, n, args):
    if n == 0:
        raise SystemError("An internal error happened :) (size==0).")
    try:
        result = self.__internal_python_method__(
            n, *(arg.ndarray for arg in args)
        )
    except (NumbaError, IndexError) as error:
        warnings.warn(
            f"Error occurred while JIT-compiling/executing: {self.code}"
        )
        raise error
    return result