C++ Client-Side SDK
LaunchDarkly SDK
error_info.h
Go to the documentation of this file.
1 
4 // NOLINTBEGIN modernize-use-using
5 #pragma once
6 
9 
10 #include <stdint.h>
11 #include <time.h>
12 
13 #ifdef __cplusplus
14 extern "C" { // only need to export C interface if
15 // used by C++ source code
16 #endif
17 
18 typedef struct _LDDataSourceStatus_ErrorInfo* LDDataSourceStatus_ErrorInfo;
19 
23 LD_EXPORT(enum LDDataSourceStatus_ErrorKind)
24 LDDataSourceStatus_ErrorInfo_GetKind(LDDataSourceStatus_ErrorInfo info);
25 
30 LD_EXPORT(uint64_t)
31 LDDataSourceStatus_ErrorInfo_StatusCode(LDDataSourceStatus_ErrorInfo info);
32 
39 LD_EXPORT(char const*)
40 LDDataSourceStatus_ErrorInfo_Message(LDDataSourceStatus_ErrorInfo info);
41 
45 LD_EXPORT(time_t)
46 LDDataSourceStatus_ErrorInfo_Time(LDDataSourceStatus_ErrorInfo info);
47 
52 LD_EXPORT(void)
53 LDDataSourceStatus_ErrorInfo_Free(LDDataSourceStatus_ErrorInfo info);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 // NOLINTEND modernize-use-using
LDDataSourceStatus_ErrorInfo_GetKind(LDDataSourceStatus_ErrorInfo info)
Definition: error_info.cpp:13
LDDataSourceStatus_ErrorInfo_StatusCode(LDDataSourceStatus_ErrorInfo info)
Definition: error_info.cpp:21
LDDataSourceStatus_ErrorInfo_Time(LDDataSourceStatus_ErrorInfo info)
Definition: error_info.cpp:35
LDDataSourceStatus_ErrorInfo_Free(LDDataSourceStatus_ErrorInfo info)
Definition: error_info.cpp:44
LDDataSourceStatus_ErrorInfo_Message(LDDataSourceStatus_ErrorInfo info)
Definition: error_info.cpp:28
LaunchDarkly Server-side C Bindings for Data Source Error Kinds.
LDDataSourceStatus_ErrorKind
Definition: error_kind.h:17
Export macros for C bindings.