#include <data_source_status_error_info.hpp>
|
using | StatusCodeType = std::uint64_t |
|
using | ErrorKind = DataSourceStatusErrorKind |
|
using | DateTime = std::chrono::time_point< std::chrono::system_clock > |
|
|
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) |
|
A description of an error condition that the data source encountered.
◆ 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: