public static class Result.Error extends Result<T> implements ErrorResult, ResponseResult
HTTP error
Result.Error, Result.Exception, Result.Ok<T>| Constructor and Description |
|---|
Error(retrofit2.HttpException exception,
okhttp3.Response response)
HTTP error
|
| Modifier and Type | Method and Description |
|---|---|
retrofit2.HttpException |
getException() |
okhttp3.Response |
getResponse() |
java.lang.String |
toString() |
getExceptiongetResponse