Skip to content
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

Question: Where to define the Exceptions [Appendix E: Validation] #89

Open
leo-hsk opened this issue Sep 4, 2024 · 1 comment
Open

Comments

@leo-hsk
Copy link

leo-hsk commented Sep 4, 2024

Hello, I am currently reading the Appendix Validation. As I can't find a branch for that I'm going to ask my question here:

Where to define the ValidationError?
The validation error is used in the flask_app.py, redis_pubsub.py and potentially many more positions on different layers [page 260].
Should I create a general exceptions.py file in the src directory for broad exceptions like this?

@hjwp
Copy link
Contributor

hjwp commented Sep 4, 2024

that sounds good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants