com.lightningkite.rx.okhttp.HttpResponseError.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okhttp-jackson Show documentation
Show all versions of okhttp-jackson Show documentation
An OkHttp wrapper based on RxJava using Jackson for JSON
The newest version!
package com.lightningkite.rx.okhttp
import okhttp3.Response
/**
* An exception representing a [Response] from the server that indicates the request was unsuccessful.
*/
open class HttpResponseException(val response: Response, cause: Throwable? = null): Exception("Got code ${response.code}", cause)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy