Marcin Wisniowski
11/09/2023, 7:08 PMHttpClient.submitForm
throwing an UnresolvedAddressException
, I thought it wraps all errors in the returned HttpResponse, and the doc comment for it doesn't say it throws any exceptions. Is this documented anywhere? I.e. how do I know what other exceptions can I potentially expect? I have some generic handling for `IOException`s but UnresolvedAddressException
isn't one so it just crashed my app.
I don't want to catch Exception
because that would interfere with coroutines cancellation.Aleksei Tirman [JB]
11/10/2023, 8:00 AM