Add type hints and docs and fix bugs in djblets.integrations.errors.
Review Request #12992 — Created April 27, 2023 and submitted
djblets.integrations.errorsto include type hints and to
add some docstrings that were previously missing.
It also fixes an issue with using
could be called with a
Noneintegration ID, which produced a poor
error message. To avoid introducing a new error and affecting consumers,
this class now provides a more specific error message with a
Tested along with consumers and suppliers of this error.
Unit tests pass.