suppressedExceptions
Returns the suppressed exceptions that occurred during cancellation of the surrounding coroutines,
For example when working with Resource
, or bracket
: When consuming a Resource
fails due to Raise.raise it results in ExitCase.Cancelled
, if the finalizer then results in a Throwable
it will be added as a suppressedException
to the CancellationException.