Record a critical error with human readable description.
@param error the error
@param description human readable description of error
432633
public void critical(Throwable error, String description) {
    log(error, null, description, Level.CRITICAL);
  }
783952
protected void setError(int newPosition, String error,
      boolean currentExisting) {
    if (!currentExisting) {
      newBasicValueSumList[newPosition] = operations.getZero1();
      newBasicValueNList[newPosition] = 0;
    }
    newErrorNumber[newPosition]++;
    if (newErrorList[newPosition].containsKey(error)) {
      newErrorList[newPosition].put(error,
          newErrorList[newPosition].get(error) + 1);
    } else {
      newErrorList[newPosition].put(error, 1);
    }
  }
803188
public void logError(@Nullable final String text) {
    if (text != null && this.preprocessorLogger != null) {
      this.preprocessorLogger.error(text);
    }
  }
924679
protected void setErrorMessageVariableOnErrorEventDefinition(Element errorEventDefinition, ErrorEventDefinition definition) {
    String errorMessageVariable = errorEventDefinition.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, "errorMessageVariable");
    if (errorMessageVariable != null) {
      definition.setErrorMessageVariable(errorMessageVariable);
    }
  }
987121
public void debug(Throwable error, String description) {
    log(error, null, description, Level.DEBUG);
  }
466719
public void setDescription(String description) {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(description)) {
            throw new CmsIllegalArgumentException(
                org.opencms.db.Messages.get().container(org.opencms.db.Messages.ERR_BAD_OU_DESCRIPTION_EMPTY_0));
        }

        m_description = description;
    }
526076
public void error(Throwable error, Map<String, Object> custom) {
    log(error, custom, null, Level.ERROR);
  }
849411
function HttpError (code, error, description) {
    this.statusCode = code;

    if (error instanceof Error)
        WError.call(this, error, description || httpErrors[this.statusCode].description);
    else
        WError.call(this, error || httpErrors[this.statusCode].description);

    return this;
}
119667
protected ParsingError error( ErrorCode errorCode, ErrorDetails... details ) {
		return new ParsingError(
				errorCode,
				this.context.getCommandFile(),
				this.line,
				details );
	}
1290321
public static void error(Object obj) {
		if (obj instanceof Throwable) {
			Throwable e = (Throwable) obj;
			error(e, e.getMessage());
		} else {
			error("{}", obj);
		}
	}
786212
public void logDescription(String description) throws IOException
   {
      // The ThreadLocal has been initialized so we know that we are in multithreaded mode.
      if (reportContext.get() != null)
      {
         reportContext.get().addComment(description);
      }
      else
      {
         writeMessage(description);
      }
   }
1230926
public void collectChildError(String error)
    {
        if (_errorText == null) {
            _errorText = new InternalStringBuilder(32);
        }
        _errorText.append(error);
    }
976719
public void printError() {
    System.out.print(description);
    if (value != null)
      System.out.print(" (" + value + ")");
    System.out.println();
  }
852033
def errorRecorder(self, lineNumber, offset, text, check):
        
        code = text.split(" ")[0]
        lineOffset = self.report.line_offset

        self.warnings.append((lineOffset + lineNumber,
                              offset + 1, code, text))
428613
void reportError(Throwable throwable) {
    if (logger != null)
      logger.error("Timer reported error", throwable);
    status = "Thread blocked on error: " + throwable;
    error_skips = error_factor;
  }
1163436
protected void recordErrorMetrics(Throwable error) {
        requestMetric.setResponseCode(500);
        requestMetric.setError(true);
        requestMetric.setErrorMessage(error.getMessage());
    }
710555
public void log(Throwable error, String description, Level level) {
    log(error, null, description, level);
  }