code: func (ui *UI) DisplayError(err error) {
  	var errMsg string
  	if translatableError, ok := err.(translatableerror.TranslatableError); ok {
  		errMsg = translatableError.Translate(ui.translate)
  	} else {
  		errMsg = err.Error()
  	}
  	fmt.Fprintf(ui.Err, "%s\n", errMsg)
  
  	ui.terminalLock.Lock()
  	defer ui.terminalLock.Unlock()
  
  	fmt.Fprintf(ui.Out, "%s\n", ui.modifyColor(ui.TranslateText("FAILED"), color.New(color.FgRed, color.Bold)))
  }
docs: // DisplayError outputs the translated error message to ui.Err if the error
  // satisfies TranslatableError, otherwise it outputs the original error message
  // to ui.Err. It also outputs "FAILED" in bold red to ui.Out.