Skip to content

Conversation

@aKlimau
Copy link
Contributor

@aKlimau aKlimau commented Jan 20, 2026

No description provided.

@aKlimau aKlimau marked this pull request as draft January 21, 2026 11:38
@aKlimau aKlimau force-pushed the docs-error-handling-improvements branch 2 times, most recently from 1130f96 to fe29e7d Compare January 21, 2026 12:44
@aKlimau aKlimau marked this pull request as ready for review January 21, 2026 12:46

Listed below are all available PulpExceptions, sorted by error code.

### InternalErrorException (PLP0000)
Copy link
Member

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.

Copy link
Member

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.

@aKlimau aKlimau force-pushed the docs-error-handling-improvements branch 2 times, most recently from 643edfd to 782d3ec Compare January 21, 2026 16:03
@aKlimau aKlimau force-pushed the docs-error-handling-improvements branch from 782d3ec to c042afd Compare January 26, 2026 08:58

**Usage in code:**
```python
# In pulpcore/tasking/tasks.py:87
Copy link
Contributor

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?

Copy link
Contributor Author

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?

Copy link
Contributor

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

@aKlimau aKlimau force-pushed the docs-error-handling-improvements branch from c042afd to b9241e5 Compare January 26, 2026 14:08
@dralley dralley merged commit c60ef66 into pulp:main Jan 27, 2026
10 checks passed
@dralley
Copy link
Contributor

dralley commented Jan 27, 2026

Looks generally good, any nitpicks can be addressed later IMO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants