kirillrakhman
04/20/2017, 7:56 AMelizarov
04/20/2017, 7:57 AMkirillrakhman
04/20/2017, 7:58 AMHttpException
, at least (multi catch would be useful)elizarov
04/20/2017, 8:02 AMkirillrakhman
04/20/2017, 8:05 AMif (e is CancellationException) throw e
is ok in my catch block?elizarov
04/20/2017, 8:07 AMkirillrakhman
04/20/2017, 8:10 AMelizarov
04/20/2017, 8:43 AMCoroutineExceptionHandler
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.experimental/-coroutine-exception-handler/index.html in my context and make it ignore CancellationException
, but report everything elsekirillrakhman
04/20/2017, 9:54 AMelizarov
04/20/2017, 10:06 AMlaunch(UI) { … }
to start a coroutine you do luanch(myOwnContext) { … }
, where myOwnContext = UI + myExceptionHandler
cbruegg
04/20/2017, 11:56 AMkirillrakhman
04/20/2017, 11:57 AMelizarov
04/20/2017, 12:04 PMcbruegg
04/20/2017, 12:04 PM