Searched refs:UnpackErrorReason (Results 1 – 6 of 6) sorted by relevance
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | unpack_properties.hpp | 38 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 D | exception.hpp | 16 enum class UnpackErrorReason enum 163 const UnpackErrorReason reason); 179 const UnpackErrorReason reason;
|
/openbmc/sdbusplus/test/ |
H A D | unpack_properties.cpp | 23 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 D | exception.cpp | 155 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 D | dbus_utils.hpp | 23 void operator()(const sdbusplus::UnpackErrorReason reason, in operator ()() 28 static_cast<std::underlying_type_t<sdbusplus::UnpackErrorReason>>( in operator ()()
|
/openbmc/sdbusplus/example/ |
H A D | get-all-properties.cpp | 64 void logUnpackError(const sdbusplus::UnpackErrorReason reason, in logUnpackError() 95 [this](const sdbusplus::UnpackErrorReason reason, in asyncGetAllPropertiesStringTypeOnly()
|