Apply more formatting to the text, and add a docstring to the exceptions module.