STYLE: prohibit parsing exeption messages
to fix #50353. 

Welcome any code review and comments.
Except 
```
./pandas/compat/pickle_compat.py:
./pandas/core/internals/blocks.py:
```
has been preliminarily completed, the above two cannot be completed due to my limited ability. can you merge main? This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this.