Package 

Class MessagingError

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class MessagingError
    extends Throwable
                        

    Messaging-related errors that can happen and be returned in a MessagingResult.Failure.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class InvalidChannelKey

      Messaging.initialize or MessagingFactory.create was called but an invalid channel key was provided.

      public class NoResultReceived

      If a MessagingResult was expected out of this call, none was received.

      public class NotInitialized

      Messaging.instance was called before Messaging.initialize completed successfully.

      public class SdkNotEnabled

      Messaging.initialize or MessagingFactory.create was called but the SDK is not enabled for the provided subdomain URL and channel identifier.

      public class AccountNotFound

      Messaging.initialize or MessagingFactory.create was called but no account was found for the provided subdomain URL and channel identifier.

      public class MissingConfiguration

      Messaging.initialize or MessagingFactory.create was called but no configuration was received from the server.

      public class FailedToInitialize

      Messaging.initialize or MessagingFactory.create was called but it failed to initialize with all of its dependencies.

      public class ConversationNotFound

      Messaging was unable to find the conversation to display.

    • Method Summary

      Modifier and Type Method Description
      String getMessage()
      Throwable getCause()
      • Methods inherited from class zendesk.messaging.android.MessagingError

        addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class kotlin.Throwable

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait