Summary: | Error Messages in CVS ( and normal portage too, but hey ) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Alec Warner <antarus> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Add more output to error in config.py |
Description
Alec Warner (RETIRED)
2005-03-29 20:42:30 UTC
Created attachment 54817 [details, diff]
Add more output to error in config.py
in diff -u format.
That error is meant for developers. It's not something a user should ever see because it's only there to catch deprecated usage of the init function. As for general error handling, most of it can't be much more specific within portage because the possible causes are too widespread at each context. Most of the errors that portage spits out inline would be far better as exceptions. Callers higher up would generally know the context better and be able to deal with them appropriately. Another stage of the refactoring... |