Enum DataSourceStatusProvider.ErrorKind

java.lang.Object
java.lang.Enum<DataSourceStatusProvider.ErrorKind>
com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataSourceStatusProvider.ErrorKind>, java.lang.constant.Constable
Enclosing interface:
DataSourceStatusProvider

public static enum DataSourceStatusProvider.ErrorKind
extends java.lang.Enum<DataSourceStatusProvider.ErrorKind>
An enumeration describing the general type of an error reported in DataSourceStatusProvider.ErrorInfo.
See Also:
DataSourceStatusProvider.ErrorInfo.getKind()
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    ERROR_RESPONSE
    The LaunchDarkly service returned an HTTP response with an error status, available with DataSourceStatusProvider.ErrorInfo.getStatusCode().
    INVALID_DATA
    The SDK received malformed data from the LaunchDarkly service.
    NETWORK_ERROR
    An I/O error such as a dropped connection.
    STORE_ERROR
    The data source itself is working, but when it tried to put an update into the data store, the data store failed (so the SDK may not have the latest data).
    UNKNOWN
    An unexpected error, such as an uncaught exception, further described by DataSourceStatusProvider.ErrorInfo.getMessage().
  • Method Summary

    Modifier and Type Method Description
    static DataSourceStatusProvider.ErrorKind valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static DataSourceStatusProvider.ErrorKind[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait