'Do the same as trouble, but prefixes the message with \'ERROR:\', colored
in red if stderr is a tty file.'

def report_error(self, message, tb=None):

    if ((not self.params.get(u'no_color')) and self._err_file.isatty() and (compat_os_name != u'nt')):
        _msg_header = u'\x1b[0;31mERROR:\x1b[0m'
    else:
        _msg_header = u'ERROR:'
    error_message = (u'%s    %s' % (_msg_header, message))
    self.trouble(error_message, tb)
