here's the actual method: ``` inline fun <reifi...
# eap
k
here's the actual method:
Copy code
inline fun <reified T : Any> HttpException.bodyAs(gson: Gson): T? =
        gson.fromJson<T>(response().errorBody().string(), object : TypeToken<T>() {}.type)