STYLE: Prohibit parsing exeption messages in try/except
code flows
#50353
Labels
Code Style
Code style, linting, code_checks
Error Reporting
Incorrect or improved errors from pandas
There are a few spots in the code base where we parse exception message to rewrite a new exception message or dictate fallback behavior e.g.
This signals that the exception and message is significant to ops behavior and is more brittle to rewriting exception message in general. IMO we should be using exception subclasses instead. Thoughts?
The text was updated successfully, but these errors were encountered: