-
Notifications
You must be signed in to change notification settings - Fork 278
Builtin vs custom exceptions #1785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
IMO @jku's taxonomy from #1312 (comment) makes a lot of sense |
One thing to check here is whether any of the builtins (above all |
I just did a thorough review of all exceptions we raise in api and ngclient and it all looks good modulo some minor issues, mostly missing documentation.
|
Big thanks for doing this. Metadata:
I'll have a closer look at Fetcher situation early next week. |
tuf/api/metadata.py:
Fetcher Interface: For invalid URL I think it's better to just use |
I have a suggestion for the downloading/fetcher error handling in #1810, please have a look. I did include one rename to make things more consistent... SlowRetrievalError is still left as is (since it's just not very important) but I won't complain if others want it renamed to e.g. DownloadTimeoutError |
We went through this with Martin and came back with this list:
We will file issues for these so there is something actionable. After these issues are filed I believe this meta-issue can be closed |
There are issues for all of those:
We can close this issue as it's a little vague. |
Uh oh!
There was an error while loading. Please reload this page.
Description of issue or feature request:
Before releasing TUF 1.0.0 we should review our code and make sure that:
ValueError
,TypeError
,KeyError
, etc.) consistently and idiomatically.Initiated from comment #1725 (review)
The text was updated successfully, but these errors were encountered: