Open thedrow opened 5 years ago
I have a task and actions in it. I'd like to fail the task when one of the actions fail.
Currently, the context manager catches all exceptions which is prevents such behaviour.
In addition, when using a trio nursery you'd want to raise exceptions so that we will not proceed if we don't want to.
I'm guessing #427 was a proposed solution?
Just so I understand the use case better, could you share some sample code demonstrating what you're trying to do?
I have a task and actions in it. I'd like to fail the task when one of the actions fail.
Currently, the context manager catches all exceptions which is prevents such behaviour.
In addition, when using a trio nursery you'd want to raise exceptions so that we will not proceed if we don't want to.