Home
last modified time | relevance | path

Searched refs:extendedInfo (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/src/
H A Derror_message_utils.cpp53 auto& extendedInfo = error[messages::messageAnnotation]; in addMessageToErrorJson() local
54 if (!extendedInfo.is_array()) in addMessageToErrorJson()
56 extendedInfo = nlohmann::json::array(); in addMessageToErrorJson()
59 extendedInfo.push_back(message); in addMessageToErrorJson()
81 const nlohmann::json::array_t* extendedInfo = in moveErrorsToErrorJson() local
83 if (extendedInfo == nullptr) in moveErrorsToErrorJson()
88 for (const nlohmann::json& message : *extendedInfo) in moveErrorsToErrorJson()
109 std::string extendedInfo(fieldPath); in addMessageToJson() local
110 extendedInfo += messages::messageAnnotation; in addMessageToJson()
112 nlohmann::json& field = target[extendedInfo]; in addMessageToJson()
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Derror_code_test.cpp125 nlohmann::json extendedInfo = R"( in TEST() local
138 error["error"][messages::messageAnnotation].push_back(extendedInfo); in TEST()