public interface Result<T>
Modifier and Type | Method and Description |
---|---|
T |
getData() |
java.lang.Throwable |
getError() |
java.lang.String |
getErrorMessage() |
boolean |
isSuccessful() |
T getData()
boolean isSuccessful()
java.lang.String getErrorMessage()
java.lang.Throwable getError()