C++ Client-Side SDK
LaunchDarkly SDK
Public Types | Public Member Functions | List of all members
launchdarkly::common::data_sources::DataSourceStatusErrorInfo Class Reference

#include <data_source_status_error_info.hpp>

Public Types

using StatusCodeType = std::uint64_t
 
using ErrorKind = DataSourceStatusErrorKind
 
using DateTime = std::chrono::time_point< std::chrono::system_clock >
 

Public Member Functions

ErrorKind Kind () const
 
StatusCodeType StatusCode () const
 
std::string const & Message () const
 
DateTime Time () const
 
 DataSourceStatusErrorInfo (ErrorKind kind, StatusCodeType status_code, std::string message, DateTime time)
 

Detailed Description

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

Member Function Documentation

◆ Kind()

ErrorKind launchdarkly::common::data_sources::DataSourceStatusErrorInfo::Kind ( ) const
inline

An enumerated value representing the general category of the error.

◆ Message()

std::string const& launchdarkly::common::data_sources::DataSourceStatusErrorInfo::Message ( ) const
inline

Any additional human-readable information relevant to the error.

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

◆ StatusCode()

StatusCodeType launchdarkly::common::data_sources::DataSourceStatusErrorInfo::StatusCode ( ) const
inline

The HTTP status code if the error was ErrorKind::kErrorResponse.

◆ Time()

DateTime launchdarkly::common::data_sources::DataSourceStatusErrorInfo::Time ( ) const
inline

The date/time that the error occurred.


The documentation for this class was generated from the following file: