-
-
Couldn't load subscription status.
- Fork 19.2k
ENH: Move warnings to error/__init__.py per GH27656 #47901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
In a follow up PR, you could maybe add a pre-commit hook to validate that errors are only defined in |
Gotcha, I'll work on that next |
|
Thanks again @dataxerik! |
* ENH: Move warnings to error/__init__.py per GH27656 * ENH: update whatsnew line * ENH: add and re-add final * ENH: add to __all__ * ENH: apply feedback * ENH: fix doc string * ENH: add additional exception/warnings to rst * ENH: fix rst and typo
I noticed one of the strings didn't have a
Finalso I've added it.Besides the tslibs and OptionError errors, I think I've moved all the exceptions/warnings to the __errors.py. Is there anything else I should do?