okarm
04/10/2021, 6:27 PMRuntimeException?
Edit: nope, just found the BadContentTypeException : Exception. try { client.request() } catch(e: Exception) it is then.cy
04/11/2021, 7:28 AMokarm
04/11/2021, 10:10 AMcy
04/11/2021, 10:17 AMokarm
04/11/2021, 10:21 AMHttpClient.request without resorting to catch(e: Exception). But that catches also the unexpected stuff.
Like on the JVM I'd catch IOException from an IO framework.