-
Notifications
You must be signed in to change notification settings - Fork 3
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 about working across modules #5
Comments
It's up to you, depends on where you want to start having functions returning |
Apologies for the pedantic questions but to adopt poltergeist a lot of my code base will need to be modified. Say, I want the exception to bubble up to the original call ie.
Will an exception in either def b() or def c() bubble up as-is or do they need try/except Exception blocks? ie.
|
On the rustedpy/result github page there is this example (https://github.com/rustedpy/result#summary) which is then shown coded with
How would this example be coded with poltergeist @catch? |
When working across modules for example, in these 3 modules - this.py, that.py and other.py - is the @catch decorater placed on def a() only or def a(), def b() and def c()?
The text was updated successfully, but these errors were encountered: