DEV Community

loading...

Discussion on: What to Except When You're Excepting: Python error handling dos & don'ts

swizzard profile image
sam Author

yeah, depending on what you're trying to do—if everything's decoupled and bar doesn't depend on the success of foo, then this approach is the way to go