errors: add rockcraft error base class
Metadata
Current evaluation
Merged PR #171 via commit 31cbb46f, adding RockcraftError as a shared base class for Rockcraft-specific exceptions.
Resolution: closed resolved
Reason: PR #171 was approved with no unresolved comments and merged as commit 31cbb46f. The change introduced RockcraftError, derived from CraftError, and updated Rockcraft exceptions to inherit from it.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Implement a base class for Rockcraft errors for better organization, instead of using Craft-CLI's `CraftError` directly.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #171 via commit 31cbb46f, adding RockcraftError as a shared base class for Rockcraft-specific exceptions. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #171 (commit 31cbb46f), introducing a Rockcraft-specific error base class instead of using Craft CLI's CraftError directly. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation of a dedicated Rockcraft error base class to replace direct usage of Craft-CLI's CraftError, improving error organization. Approved by two reviewers, passed CI, and modified four files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of a Rockcraft-specific error base class to replace direct reliance on Craft-CLI's CraftError, improving error organization. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #61 feat: refactor all errors into reusable module | rockcraft | merged | Merged PR #61 consolidated Rockcraft's custom exceptions into a reusable rockcraft/errors.py module via commit 75d124b9. |