Hey, is there any way to catch exceptions thrown b...
# ktor
j
Hey, is there any way to catch exceptions thrown by Ios client engine when there is no internet connection? So far I cannot wrap my head around how swift errors are propagated into kotlin
j
I use this
Copy code
try {
... request
} catch (err: Throwable) {
    if (err is ResponseException) {
    } else {
         // offlineException
    }
}