Hi everybody, I’m using ktor-client to perform network calls with Gson serialization. Can anyone suggest the best way to retrieve an error response body? Status and headers are available inside e.request.request, but the body itself is nowhere to be found
yatsinar
10/05/2018, 2:35 PM
Looks like Gson dumps the content string right after it fails to deserialise error body to a success type.