Grokking Concurrency in Python
Vote

0% completed

​

Exception Groups

One exception object can carry several other exceptions inside it, so that the failures of several tasks are raised together (an exception group). A task group raises its errors in this form, as TaskGroup showed. As a result, code that wraps a crawl in except ValueError stops catching the ValueError once the crawl moves into a task group, even though the traceback still prints it.

What an Exception Group Holds

An exception group is an ordinary exception with a message and a tuple of other exceptions in its `exceptions

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content