Interface ErrorHandler

  • All Implemented Interfaces:

    
    public interface ErrorHandler
    
                        

    Error-only callback.

    Used for asynchronous operations that only need to report success or failure (no result data is returned).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onError(NCError error) Error callback.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onError

         abstract Unit onError(NCError error)

        Error callback.

        Parameters:
        error - Error info on failure; null on success