Add typing and clean up code for reviewboard.hostingsvcs.errors.
Review Request #12985 — Created April 24, 2023 and submitted — Latest diff uploaded
This updates the error code for hosting services to include type hints
and information on attributes, making it easier and safer to work with
errors.It also adds some missing documentation and removes some unneeded
pass
statements.
Type checker and unit tests pass.
Used some of these attributes in code I was working on.