NowServiceError class - Android

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • The NowServiceError sealed class that returns NowSDK errors.

    Table 1. Properties
    Name Type Description
    cause Throwable Cause of the error.
    message String Message that contains the error details to display to the user.
    Table 2. Errors returned by the NowSDK feature services
    Type Description
    SDKNotConfigured The NowSDK was not configured. Most likely the NowSDK.configure() method was not called.
    ServiceConfigurationInvalid The NowSDK was configured with invalid setting. Verify that all settings in the configuration are correct.
    ServiceDisabled The associated service is disabled.
    ServiceSettingsInvalid Unable to process the service settings.
    ServiceSettingsRetrievalFailed Unable to retrieve the NowSDK service settings from the ServiceNow instance.