Describes the cause of the error with structured details.
More...
#include <google/cloud/status.h>
Describes the cause of the error with structured details.
- See also
- https://cloud.google.com/apis/design/errors#error_info
Definition at line 71 of file status.h.
◆ ErrorInfo() [1/2]
google::cloud::ErrorInfo::ErrorInfo |
( |
| ) |
|
|
default |
◆ ErrorInfo() [2/2]
google::cloud::ErrorInfo::ErrorInfo |
( |
std::string |
reason, |
|
|
std::string |
domain, |
|
|
std::unordered_map< std::string, std::string > |
metadata |
|
) |
| |
|
inlineexplicit |
◆ domain()
std::string const& google::cloud::ErrorInfo::domain |
( |
| ) |
const |
|
inline |
◆ metadata()
std::unordered_map<std::string, std::string> const& google::cloud::ErrorInfo::metadata |
( |
| ) |
const |
|
inline |
◆ reason()
std::string const& google::cloud::ErrorInfo::reason |
( |
| ) |
const |
|
inline |
◆ operator!=
◆ operator==