Interface SDKError<T>


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

    • getErrorMessage

      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

      HashMap<String,Object> getAdditionalInformation()
      Returns additional information if available
      Returns:
      hashmap of additional information
    • getCausingException

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