Interface SDKError<T>


  • public interface SDKError<T>
    This interface contains callback used when the SDK throws the Error. Returns the ErrorCode and ErrorMessage.
    • Method Detail

      • getErrorMessage

        java.lang.String getErrorMessage()
        Returns a descriptive error message.
        Returns:
        String representation of the error message describing why the operation failed.
      • getErrorCode

        T getErrorCode()
        Return errorCode object
      • getAdditionalInformation

        java.util.HashMap<java.lang.String,​java.lang.Object> getAdditionalInformation()
        Returns additional information if available
        Returns:
        hashmap of additional information
      • getCausingException

        java.lang.Throwable getCausingException()
        Returns the underlying exception that caused the Error. If no underlying exception, can be null.
        Returns:
        exception object