Fix app event and error docstrings