C++ Client-Side SDK
LaunchDarkly SDK
Typedefs | Functions
error_info.h File Reference

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

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

Go to the source code of this file.

Typedefs

typedef struct _LDDataSourceStatus_ErrorInfo * LDDataSourceStatus_ErrorInfo
 

Functions

 LDDataSourceStatus_ErrorInfo_GetKind (LDDataSourceStatus_ErrorInfo info)
 
 LDDataSourceStatus_ErrorInfo_StatusCode (LDDataSourceStatus_ErrorInfo info)
 
 LDDataSourceStatus_ErrorInfo_Message (LDDataSourceStatus_ErrorInfo info)
 
 LDDataSourceStatus_ErrorInfo_Time (LDDataSourceStatus_ErrorInfo info)
 
 LDDataSourceStatus_ErrorInfo_Free (LDDataSourceStatus_ErrorInfo info)
 

Detailed Description

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

Function Documentation

◆ LDDataSourceStatus_ErrorInfo_Free()

LDDataSourceStatus_ErrorInfo_Free ( LDDataSourceStatus_ErrorInfo  info)

Frees the data source status error information.

Parameters
statusThe error information to free.

◆ LDDataSourceStatus_ErrorInfo_GetKind()

LDDataSourceStatus_ErrorInfo_GetKind ( LDDataSourceStatus_ErrorInfo  info)

Get an enumerated value representing the general category of the error.

◆ LDDataSourceStatus_ErrorInfo_Message()

LDDataSourceStatus_ErrorInfo_Message ( LDDataSourceStatus_ErrorInfo  info)

Any additional human-readable information relevant to the error.

The format is subject to change and should not be relied on programmatically.

◆ LDDataSourceStatus_ErrorInfo_StatusCode()

LDDataSourceStatus_ErrorInfo_StatusCode ( LDDataSourceStatus_ErrorInfo  info)

The HTTP status code if the error was LD_DATASOURCESTATUS_ERRORKIND_ERROR_RESPONSE.

◆ LDDataSourceStatus_ErrorInfo_Time()

LDDataSourceStatus_ErrorInfo_Time ( LDDataSourceStatus_ErrorInfo  info)

The date/time that the error occurred, in seconds since epoch.