'This method is called from the output object. The output object was
called from a plugin or from the framework. This method should take
an action for error messages.'

def error(self, message, new_line=True):

    to_print = self._clean_string(message)
    self._append_additional_info(to_print, 'error')
