<get url from error in retrofit2 and rxjava> I'm u...
# stackoverflow
u
get url from error in retrofit2 and rxjava I'm using retrofit 2 with rxjava to send rest requests. and Gson as json parse. if Gson cannot parse json string then throws java.lang.IllegalStateException with some message. my issue is that i don't know this error happened on which url. if error type is HttpException i can get url from that but in other types like java.lang.IllegalStateException and TimeoutException just access to error message is available and i can't see the url. how can i achieve to url in rxjava and retrofit...