Class ZumoKitException

    • Constructor Summary

      Constructors 
      Constructor Description
      ZumoKitException​(java.lang.String errorType, java.lang.String errorCode, java.lang.String errorMessage)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorCode()
      In case an error could be handled programmatically in addition to error type error code is returned.
      java.lang.String getErrorType()
      Error type, such as api_connection_error, api_error, wallet_error etc.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ZumoKitException

        public ZumoKitException​(java.lang.String errorType,
                                java.lang.String errorCode,
                                java.lang.String errorMessage)
    • Method Detail

      • getErrorType

        public java.lang.String getErrorType()
        Error type, such as api_connection_error, api_error, wallet_error etc.
        See Also:
        ZumoKitErrorType
      • getErrorCode

        public java.lang.String getErrorCode()
        In case an error could be handled programmatically in addition to error type error code is returned.
        See Also:
        ZumoKitErrorCode