concurrentunit icon indicating copy to clipboard operation
concurrentunit copied to clipboard

Consider failure handling wrapper

Open jhalterman opened this issue 9 years ago • 0 comments

Consider an API to wrap closures that can handle any failures and re-throw them in the main test thread. Ex:

messageBus.registerHandler(waiter.handleFailures(() -> msg -> {
  throw SomethingBadException();
});

jhalterman avatar Aug 02 '16 17:08 jhalterman