public class IZITravelError
extends java.lang.RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
IZITravelError.HttpError
The HTTP response error.
|
| Modifier and Type | Method and Description |
|---|---|
static IZITravelError |
from(retrofit.RetrofitError error) |
IZITravelError.HttpError |
getHttpError()
The HTTP response error.
|
retrofit.RetrofitError.Kind |
getKind()
The event kind which triggered this error.
|
retrofit.client.Response |
getResponse()
Response object containing status code, headers, body, etc.
|
java.lang.String |
getUrl()
The request URL which produced the error.
|
public static IZITravelError from(retrofit.RetrofitError error)
public java.lang.String getUrl()
public retrofit.client.Response getResponse()
public IZITravelError.HttpError getHttpError()
public retrofit.RetrofitError.Kind getKind()