SnapdError is too generic
Metadata
Current evaluation
Closed as stale in August 2026 after eight years of inactivity; the requested context-specific replacement exceptions were not implemented.
Resolution: closed stale
Reason: Maintainer mr-cal explicitly closed the issue as stale on 2026-08-14. No resolving PR or commit was identified.
Evaluated by: mr-cal-bot
No scores available.
Issue body
We have an exception in snapcraft/internal/errors.py called SnapdError. This exception is raised in two different contexts, passing a different message for each case.
This exception should be removed or only be used as a base class. We should add individual exception for each possible error.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as stale in August 2026 after eight years of inactivity; the requested context-specific replacement exceptions were not implemented. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale in August 2026 after more than eight years; context-specific replacements for SnapdError were not implemented. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale in August 2026 after more than eight years; the requested context-specific replacement exceptions were not implemented. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale after more than eight years, with no documented implementation of the proposed context-specific SnapdError exceptions. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and likely abandoned. No specific exceptions were created to replace the generic SnapdError, leaving the refactoring deferred. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
80
Support Request:
0
|
close stale | Suggests refactoring the generic SnapdError exception into a base class with specific child exceptions. Unaddressed for over 8 years with zero maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
85
Support Request:
0
|
close stale | Over 8-year-old issue suggesting refactoring a generic SnapdError exception into specific subclasses. Has zero comments or maintainer engagement, and the referenced internal code structure is likely obsolete. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
20
Confidence:
85
Support Request:
10
|
close stale | Refactoring request to replace the generic SnapdError exception with specific subclasses for better error handling. Unaddressed for ~8.5 years with no maintainer interaction. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1734231 SnapcraftEnvironmentError is too generic | snapcraft (launchpad) | closed | Closed as stale after 3,235 days without an implementation; maintainer ~mr-cal closed it on 2026-08-14 with no linked fix. |