Package 

Class BasePaginatedQuery.ResultRequest.Failed


  • 
    public class BasePaginatedQuery.ResultRequest.Failed<T>
    extends BasePaginatedQuery.ResultRequest<T>
                        

    A ResultRequest that has already failed due to a previous condition.Useful when a method must return a ResultRequest but fails before it can make the "real"one. Such errors are reported as thrown AblyExceptions in sync scenarios, and asCallback.onError calls in async ones. This class helps converting from plain exceptionsto cover the async case too.