image.png
# ktor
y
image.png
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
Looks like Gson dumps the content string right after it fails to deserialise error body to a success type.