uncaughtExceptions

Deprecated (with error)

This list is only populated if `UncaughtExceptionCaptor` is in the test context, and so can be easily misused. It is only present for backward compatibility and will be removed in the subsequent releases. If you need to check the list of exceptions, please consider creating your own `CoroutineExceptionHandler`.

List of uncaught coroutine exceptions, for backward compatibility.

The returned list is a copy of the exceptions caught during execution. During TestCoroutineScope.cleanupTestCoroutines the first element of this list is rethrown if it is not empty.

Exceptions are only collected in this list if the UncaughtExceptionCaptor is in the test context.