Join Slack
Powered by
Kotlin Tip: When you define application exceptions...
# feed
h
Halina
04/08/2024, 8:14 AM
Kotlin Tip: When you define application exceptions, don’t extend CancellationException! That causes unexpected behaviour, as subclasses of this CancellationException are not propagated, but instead, they cancel the closest coroutine. More about it here:
https://kt.academy/article/cc-cancellation#cancellationexception-does-not-propagate-to-its-parent
2
Views
Open in Slack
Previous
Next