https://kotlinlang.org logo
#ktor
Title
d

Dennis Schröder

09/27/2020, 10:54 AM
A question on Ktor-Client. Can I do this:
Copy code
val client = HttpClient(Apache)

try {
    client.get("<https://some.api>")
} catch(t: Throwable) {
    //...
}
also inside a ClientFeature, so that the user does not see anything from the catching?