open class HttpException : RuntimeException
Exception for an unexpected, non-2xx HTTP response.
HttpException(response: Response<*>!) |
open fun code(): Int
HTTP status code. |
|
open fun message(): String!
HTTP status message. |
|
open fun response(): Response<*>?
The full HTTP response. This may be null if the exception was serialized. |