code: async def with_exception(self, subprocess, *matchers):
          
          def _callback(event, matcher):
              raise RoutineException(matcher, event)
          return await self.with_callback(subprocess, _callback, *matchers)
docs: Monitoring event matchers while executing a subprocess. If events are matched before the subprocess ends,
          the subprocess is terminated and a RoutineException is raised.