Package 

Interface FailureCallback


  • 
    public interface FailureCallback<E extends Throwable>
    
                        

    Convenience API to be notified when an asynchronous task failed.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onFailure(E error) Called with an error when the task failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onFailure

         abstract Unit onFailure(E error)

        Called with an error when the task failed.

        Parameters:
        error - the error that caused the failure