Emit one line of the error message report. By default, error messages are
printed to System.err. Subclasses may override.

@param line
one line of the error report
16606
protected void emitLine(String line) {
        line = line.replaceAll("\t", "  ");
        System.err.println(line);
    }
163468
public static void error(Log log, Throwable e) {
		error(log, e, e.getMessage());
	}
208123
public function logError($line, $args = self::NO_ARGUMENTS)
	{
        $this->log($line, self::ERR, $args);
    }
315560
private void nullPrintln(PrintStream out, String line)
    {
        if (out != null)
        {
            out.println(line);
        }
    }
747380
protected void applyErrorMessage(@Nullable CharSequence errorMessage) {
        if (mErrorView instanceof TextView) {
            ((TextView) mErrorView).setText(errorMessage);
        }
    }
987121
public void debug(Throwable error, String description) {
    log(error, null, description, Level.DEBUG);
  }
246923
private void error(final Element source, final String msg) {
        this.processingEnv.getMessager().printMessage(Kind.ERROR, msg, source);
    }
684196
def onerror(self, emitter, message, source, lineno, colno):
        
        self._log.debug("""App.onerror event occurred in webpage: 
            \nMESSAGE:%s\nSOURCE:%s\nLINENO:%s\nCOLNO:%s\n"""%(message, source, lineno, colno))
371108
private void parseLine__singleLineMode(String line) throws SyntaxErrorException
	{
		// reset
		setPropertyNameStart(POSITION__NOT_SET);
		setPropertyNameEnd(POSITION__NOT_SET);
		setRestOfLineStart(POSITION__NOT_SET);

		int _nextStateIndex = 0;
		State _currentState = null;
		char[] _nextChar = new char[1];

		for (int _i = 0; _i <= line.length(); _i++)
		{
			setCurrentChar(_i);
			_currentState = getAutomaton()[_nextStateIndex];
			_currentState.execute();
			if (line.length() == _i || !_currentState.isFollowable()) break;
			_nextChar[0] = line.charAt(_i);
			String _charToParse = new String(_nextChar);
			try
			{
				_nextStateIndex = _currentState.chooseNext(_charToParse);
			}
			catch (SyntaxErrorException _exception)
			{
				throw new SyntaxErrorException("Error at pos " + _i + " in line :'" + line + "'");
			}
		}
		// sanity check : final state and not error
		if (null == _currentState || !_currentState.isFinal())
		{
			throw new SyntaxErrorException("Undefined error at pos in line :'" + line + "'");
		}

		// do the thing.
		if (null != getParserOutcome())
		{
			if (isParserOutcomeSingleLine())
			{
				boolean _leftTrim = (FinalState.IS_SINGLE_LINE_LEFT_TRIM == getParserOutcome());
				parseLine__extractSingleLineProperty(line, _leftTrim);
			}
			else if (isParserOutcomeMultipleLine())
			{
				String _propertyName = line.substring(getPropertyNameStart(), getPropertyNameEnd());
				setMultipleLinePropertyName(_propertyName);
				setMultipleLinePropertyValue(new ArrayList<String>());
				String _endTag = line.substring(getRestOfLineStart()).trim();
				if (!getEndTagChecker().matcher(_endTag).matches())
				{
					throw new SyntaxErrorException(
							"End tag MUST match the rule : '" + CharacterPattern.END_TAG + "', got '" + _endTag + "'");
				}
				setMultipleLineEndTag(_endTag);
			}
		}
	}
42534
public void error(Object message, Throwable t) {
        doLog(Level.ERROR, FQCN, message, null, t);
    }
763129
def line_error(self, text, style=None, verbosity=None):
        
        if style:
            styled = "<%s>%s</>" % (style, text)
        else:
            styled = text

        self._io.error_line(styled, verbosity)
12393
function printError(error) {
    process.stderr.write(red);
    console.error(error.trace);
    process.stderr.write(yellow);
    console.error('an error occurred, please file an issue');
    process.stderr.write(reset);
    process.exit(1);
  }
715583
public static void printError(Object errorMessage)
	{

		if (errorMessage instanceof Throwable)
		{

			Throwable e = (Throwable) errorMessage;

			getLog(Debugger.class).error(stackTrace(e));

		}
		else
			getLog(Debugger.class).error(errorMessage);

	}
278848
@Override
  public void onError(final Exception error) {
    submitCompletion(new Runnable() {

      @Override
      public void run() {
        observer.onError(error);
      }

    });
  }
852144
public void error(final String message) {
        messages.add(new LogMessage(message, LogMessage.Type.ERROR));
        log.error(message);
    }
701404
protected void showError(String error) {

        if (null == error) {
            m_errorLabel.setText("");
        } else {
            m_errorLabel.setText(error);
        }
    }
1071621
public void processLine(String line) throws CLIException {
		if (line.trim().equals("?")) {
			output.output(String.format(HINT_FORMAT, appName), outputConverter);
		} else {
			List<Token> tokens = Token.tokenize(line);
			if (tokens.size() > 0) {
				String discriminator = tokens.get(0).getString();
				processCommand(discriminator, tokens);
			}
		}
	}