← Back to issue list

Error message formatting

View original Github issue

Metadata

Project
craft-cli
Number
#31
Type
issue
State
open
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Feature request to let the emitter error() method format error messages (e.g. add an 'Error: ' prefix) and optionally output them in red, respecting no-color.org. Open, unlabelled, with one maintainer comment endorsing the idea; no implementation yet.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and only a single maintainer comment (jugmac00, 2022-03-04) endorsing the idea and adding a colored-output suggestion with a no-color.org link; there is no evidence it was categorised, prioritised, or implemented. The current emitter error() in craft_cli/messages.py takes a CraftError and formats fixed sections (details, resolution, doc URL) with no user-configurable prefix or color, so the request is still applicable but untriaged.

Impact: 25 Quick Win: 17.5 Staleness: 55 Complexity: 30 Confidence: 60 Support Request: 10

Issue body

The emitter `error()` method could offer a way for the user to format the error message e.g. adding a prefix such as "Error: ".

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 17.5
Staleness: 55
Complexity: 30
Confidence: 60
Support Request: 10
needs triage Feature request to let the emitter error() method format error messages (e.g. add an 'Error: ' prefix) and optionally output them in red, respecting no-color.org. Open, unlabelled, with one maintainer comment endorsing the idea; no implementation yet.
qwen/qwen3.6-35b-a3b
Staleness: 80
Complexity: 25
Confidence: 80
Support Request: 10
needs triage Feature request to add formatting options (prefixes, colors) to the emitter error() method. Unlabelled, unassessed, and inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 80
Support Request: 10
needs triage Suggests adding formatting options to the emitter error() method, including customizable prefixes and optional colored output. Currently unlabelled and inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 65
Support Request: 10
needs triage Enhance the emitter error method to support custom prefixes and colored output while respecting no-color.org. Open and under discussion with maintainer agreement, but unassigned and inactive for over a year.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.