retrofit / retrofit2 / HttpException / response

response

@Nullable open fun response(): Response<*>?

The full HTTP response. This may be null if the exception was serialized.