rootCause

Extension property that retrieves the root cause of a CancellationException.

This is used in cases when non-suspended code launches a coroutine that raises exceptions. The method helps to get the root exception causing the outer coroutine cancellation.