← Back to issue list

Enrich `CraftErrors` with resolutions and documentation links

View original Github issue

Metadata

Project
snapcraft
Number
#4861
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
2024-06-18 19:08:37+00:00
Updated
2026-01-28 18:35:58+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Enrich existing [`CraftErrors`](https://canonical-craft-cli.readthedocs-hosted.com/en/latest/craft_cli.errors/#craft_cli.errors.CraftError) with `details`, `resolution`, `docs_url`, etc. ### Why it needs to get done For a better UX when errors are raised. This is a one-time task to improve existing `CraftErrors`. In the future, new `CraftErrors` should define as many error fields as possible.

Evaluation history

No evaluation history available.