Kotlin Tip: When you define application exceptions...
# feed
h
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