Hi all, if I can ask for some hints from you I’d be very pleased.
I’m working on an Android app that uses coroutines+Retrofit for making the network calls and I face an issue upon handling a custom exception thrown in the custom okhttp interceptor I wrote. The problem is that I seem to be unable to catch it. For details please see the following link:
https://stackoverflow.com/questions/58697459/handle-exceptions-thrown-by-a-custom-okhttp-interceptor-in-kotlin-coroutines
I’d be very grateful for any hints upon the correct approach to resolve this. I guess it’s something about dispatchers.