Package | Description |
---|---|
retrofit |
Retrofit turns your REST API into a Java interface.
|
Modifier and Type | Method and Description |
---|---|
static RetrofitError |
RetrofitError.conversionError(String url,
Response response,
Converter converter,
Type successType,
ConversionException exception) |
static RetrofitError |
RetrofitError.httpError(String url,
Response response,
Converter converter,
Type successType) |
static RetrofitError |
RetrofitError.networkError(String url,
IOException exception) |
static RetrofitError |
RetrofitError.unexpectedError(String url,
Throwable exception) |
Modifier and Type | Method and Description |
---|---|
void |
Callback.failure(RetrofitError error)
Unsuccessful HTTP response due to network failure, non-2XX status code, or unexpected
exception.
|
Throwable |
ErrorHandler.handleError(RetrofitError cause)
Return a custom exception to be thrown for a
RetrofitError . |
Copyright © 2015 Square, Inc.. All Rights Reserved.