C++ Client-Side SDK
LaunchDarkly SDK
Enumerations
error_kind.h File Reference

LaunchDarkly Server-side C Bindings for Data Source Error Kinds. More...

#include <launchdarkly/bindings/c/export.h>
Include dependency graph for error_kind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  LDDataSourceStatus_ErrorKind {
  LD_DATASOURCESTATUS_ERRORKIND_UNKNOWN = 0 , LD_DATASOURCESTATUS_ERRORKIND_NETWORK_ERROR = 1 , LD_DATASOURCESTATUS_ERRORKIND_ERROR_RESPONSE = 2 , LD_DATASOURCESTATUS_ERRORKIND_INVALID_DATA = 3 ,
  LD_DATASOURCESTATUS_ERRORKIND_STORE_ERROR = 4
}
 

Detailed Description

LaunchDarkly Server-side C Bindings for Data Source Error Kinds.

Enumeration Type Documentation

◆ LDDataSourceStatus_ErrorKind

A description of an error condition that the data source encountered.

Enumerator
LD_DATASOURCESTATUS_ERRORKIND_UNKNOWN 

An unexpected error, such as an uncaught exception, further described by the error message.

LD_DATASOURCESTATUS_ERRORKIND_NETWORK_ERROR 

An I/O error such as a dropped connection.

LD_DATASOURCESTATUS_ERRORKIND_ERROR_RESPONSE 

The LaunchDarkly service returned an HTTP response with an error status, available in the status code.

LD_DATASOURCESTATUS_ERRORKIND_INVALID_DATA 

The SDK received malformed data from the LaunchDarkly service.

LD_DATASOURCESTATUS_ERRORKIND_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).