def error(self, text, block=False):
        if block:
            return self.output.error(text)

        self.line(text, 'error')
Write a string as error output.
dataset/ETHPy150Open sdispater/cleo/cleo/commands/command.py/Command.error