Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/src/
H A Derror_message_utils.cpp29 nlohmann::json::object_t* errorObj = in addMessageToErrorJson() local
34 if (errorObj == nullptr) in addMessageToErrorJson()
54 errorObj = error.get_ptr<nlohmann::json::object_t*>(); in addMessageToErrorJson()
59 (*errorObj)["code"] = in addMessageToErrorJson()
61 (*errorObj)["message"] = in addMessageToErrorJson()
69 auto extendedInfo = errorObj->try_emplace(messages::messageAnnotation, in addMessageToErrorJson()
92 nlohmann::json::object_t* errorObj = in moveErrorsToErrorJson() local
94 if (errorObj == nullptr) in moveErrorsToErrorJson()
100 errorObj->find(messages::messageAnnotation); in moveErrorsToErrorJson()
101 if (extendedInfoIt == errorObj->end()) in moveErrorsToErrorJson()
/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp986 template <typename errorObj>
992 errorObj("SENSOR_NAME", sensorObjPath, "READING_VALUE", value, "UNITS", in logThresholdHelper()