3 ms·
Chained exceptions* is fantastic. I've found myself handling a specific set of exceptions, logging/printing various pieces of the traceback, and continuing on m
by stephendicato 12y ago
Chained exceptions* is fantastic. I've found myself handling a specific set of exceptions, logging/printing various pieces of the traceback, and continuing on more times that I'd care to think about. This provides the level of context to the exception I'd have wanted.
Combined with fine grained `oserrors`, that's awesome. I have so much magic `errno` checking code over the years.
* https://asmeurer.github.io/python3-presentation/slides.html#37 https://asmeurer.github.io/python3-presentation/slides.html#...