Autodoc: report errors in user interface

Also includes panics by virtue of the previous commit, checking one item off #19249.
75ccdcc356Ian Johnson committed on 2/15/2025, 10:32:44 PMparentb745a96
2 files changedLine totals unavailable