def _errorHandle(func):
        def call(self, *args, **kwargs):
            try:
                func(self, *args, **kwargs)
            except __HOLE__:
                self.terminal.write("Cannot use that command.")
        return call
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/_errorHandle