-
Notifications
You must be signed in to change notification settings - Fork 138
Update error handling documentation to include new pulp exceptions #7230
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
Conversation
1130f96 to
fe29e7d
Compare
|
|
||
| Listed below are all available PulpExceptions, sorted by error code. | ||
|
|
||
| ### InternalErrorException (PLP0000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For easier lookup, make the PLPxxxx align in the same column by moving them to the front.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this reference list should really move over to the users section.
643edfd to
782d3ec
Compare
782d3ec to
c042afd
Compare
|
|
||
| **Usage in code:** | ||
| ```python | ||
| # In pulpcore/tasking/tasks.py:87 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specific line numbers will get outdated quickly imo. Maybe it would be better not to mention them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I just leave just a file path in this case or is it better to not mention location within files at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Up to you, I do not have a preference
Assisted by Claude Code
c042afd to
b9241e5
Compare
|
Looks generally good, any nitpicks can be addressed later IMO |
No description provided.