Enum Class InitConversationErrorType

java.lang.Object
java.lang.Enum<InitConversationErrorType>
com.unblu.sdk.core.errortype.InitConversationErrorType
All Implemented Interfaces:
Serializable, Comparable<InitConversationErrorType>, Constable

public enum InitConversationErrorType extends Enum<InitConversationErrorType>
Error type thrown when starting or joining a conversation fails.
  • Enum Constant Details

    • UNEXPECTED_EXECUTION_ERROR

      public static final InitConversationErrorType UNEXPECTED_EXECUTION_ERROR
      Unexpected execution error occurred while attempting to start or join the conversation.
    • FATAL_ERROR

      public static final InitConversationErrorType FATAL_ERROR
      A fatal error occurred, potentially from internal native Android code. Check the error message for more details.
  • Method Details

    • values

      public static InitConversationErrorType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InitConversationErrorType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getErrorDescription

      public String getErrorDescription()
      Retrieves the description of the exception class name.
      Returns:
      The error description.