// Error implements the github.com/uber/jaeger-client-go/log.Logger interface.
973101
func (l *Logger) Error(msg string) {
	l.errorLogger.Log(l.messageKey, msg)
}
563528
func (cerr *ChromeRequestErr) Error() string {
	return "request " + strconv.FormatInt(cerr.Resp.Id, 10) + " failed, code: " + strconv.FormatInt(cerr.Resp.Error.Code, 10) + " msg: " + cerr.Resp.Error.Message
}
1093816
func (app *App) Error(err interface{}) {
	if err := ErrorWithStack(err, 4); err != nil {
		str, e := err.Format()
		f := app.logger.Flags() == 0
		switch {
		case f && e == nil:
			app.logger.Printf("[%s] ERR %s\n", time.Now().UTC().Format("2006-01-02T15:04:05.999Z"), str)
		case f && e != nil:
			app.logger.Printf("[%s] CRIT %s\n", time.Now().UTC().Format("2006-01-02T15:04:05.999Z"), err.String())
		case !f && e == nil:
			app.logger.Printf("ERR %s\n", str)
		default:
			app.logger.Printf("CRIT %s\n", err.String())
		}
	}
}
64633
func (l *Logger) Error(msg interface{}, data ...interface{}) {
	if l.shouldAppend(ERROR) {
		l.makeLog(msg, ERROR, data)
	}
}
1044649
func Error(c codes.Code, msg string) error {
	return New(c, msg).Err()
}
115858
func (l *Logger) Error(e error) {
	l.Print(l.formatErr(e, ""))
}
52915
func (dl *DefaultLogger) Error(message string, params ...interface{}) {
	dl.logger.Errorf(message, params...)
}
161669
func (gl *goLogger) Error(info, msg string) {
	log.Println("[ERROR]", info, msg)
}
1264677
func (logs *Logs) Error(v ...interface{}) {
	logs.ERROR().Output(2, fmt.Sprintln(v...))
}
860265
func Error(w http.ResponseWriter, code int, msg string, logger chronograf.Logger) {
	e := ErrorMessage{
		Code:    code,
		Message: msg,
	}
	b, err := json.Marshal(e)
	if err != nil {
		code = http.StatusInternalServerError
		b = []byte(`{"code": 500, "message":"server_error"}`)
	}

	logger.
		WithField("component", "server").
		WithField("http_status ", code).
		Error("Error message ", msg)
	w.Header().Set("Content-Type", JSONType)
	w.WriteHeader(code)
	_, _ = w.Write(b)
}
265703
func (err *Error) Error() string {
	return fmt.Sprintf("%s: %s", err.Err, err.Msg)
}
1332996
func (o *OAuth2Error) Error() string {
	return fmt.Sprintf("OAuth2 error code=%v, message=%v", o.Code, o.Message)
}
1001826
func (l *dglog) Error(v ...interface{}) {
	v = append([]interface{}{common.RUN_ERROR_FORMAT, fmt.Sprintf("%c[0,0,%dm ", 0x1B, 31)}, v...)
	v = append(v, fmt.Sprintf("%c[0m", 0x1B))
	s := fmt.Sprint(v...)
	logDataChan <- s
	panic(s)
}
1225021
func (c *RetryError) Error() string {
	if c.Err == nil {
		return c.Message
	}
	return c.Err.Error()
}
1358481
func (logger *Logger) Error(args ...interface{}) {
	logger.log(ERROR, fmt.Sprint(args...))
}
313829
func (e *Error) Error() string {
	return fmt.Sprintf("API Error: %s %s %s", e.code, e.objtype, e.uuid)
}
840803
func (e *RunError) Error() string {
	return fmt.Sprintf("%s: %s", e.Command.Path, e.ExecError)
}