Home
last modified time | relevance | path

Searched refs:UnpackErrorReason (Results 1 – 6 of 6) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/
H A Dunpack_properties.hpp38 UnpackErrorReason{}, in readProperty()
55 onErrorCallback(UnpackErrorReason::wrongType, expectedKey);
71 onErrorCallback(UnpackErrorReason::wrongType, expectedKey);
83 onErrorCallback(UnpackErrorReason::wrongType, expectedKey);
91 onErrorCallback(UnpackErrorReason::missingProperty, expectedKey);
105 UnpackErrorReason{}, in readProperties()
127 UnpackErrorReason{}, in unpackPropertiesCommon()
147 [](const UnpackErrorReason reason, const std::string& property) { in unpackProperties()
H A Dexception.hpp16 enum class UnpackErrorReason enum
163 const UnpackErrorReason reason);
179 const UnpackErrorReason reason;
/openbmc/sdbusplus/test/
H A Dunpack_properties.cpp23 UnpackError(sdbusplus::UnpackErrorReason r, const std::string& p) : in UnpackError()
26 sdbusplus::UnpackErrorReason reason;
35 [&error](sdbusplus::UnpackErrorReason reason, in operator ()()
182 ASSERT_THAT(error->reason, Eq(UnpackErrorReason::missingProperty)); in TYPED_TEST()
200 ASSERT_THAT(error->reason, Eq(UnpackErrorReason::wrongType)); in TYPED_TEST()
216 ASSERT_THAT(error->reason, Eq(UnpackErrorReason::wrongType)); in TYPED_TEST()
241 EXPECT_THAT(badProperty->reason, Eq(UnpackErrorReason::missingProperty)); in TYPED_TEST()
257 EXPECT_THAT(badProperty->reason, Eq(UnpackErrorReason::wrongType)); in TYPED_TEST()
272 EXPECT_THAT(badProperty->reason, Eq(UnpackErrorReason::wrongType)); in TYPED_TEST()
/openbmc/sdbusplus/src/
H A Dexception.cpp155 static std::string unpackErrorReasonToString(const UnpackErrorReason reason) in unpackErrorReasonToString()
159 case UnpackErrorReason::missingProperty: in unpackErrorReasonToString()
161 case UnpackErrorReason::wrongType: in unpackErrorReasonToString()
168 const UnpackErrorReason reasonIn) : in UnpackPropertyError()
/openbmc/bmcweb/redfish-core/include/utils/
H A Ddbus_utils.hpp23 void operator()(const sdbusplus::UnpackErrorReason reason, in operator ()()
28 static_cast<std::underlying_type_t<sdbusplus::UnpackErrorReason>>( in operator ()()
/openbmc/sdbusplus/example/
H A Dget-all-properties.cpp64 void logUnpackError(const sdbusplus::UnpackErrorReason reason, in logUnpackError()
95 [this](const sdbusplus::UnpackErrorReason reason, in asyncGetAllPropertiesStringTypeOnly()