Lines Matching +full:ex +full:-
8 * http://www.apache.org/licenses/LICENSE-2.0
24 #include <phosphor-logging/log.hpp>
66 catch (const sdbusplus::exception_t& ex) in getService() local
69 entry("WHAT=%s", ex.what())); in getService()
78 return response.begin()->first; in getService()
96 catch (const sdbusplus::exception_t& ex) in getProperties() local
99 entry("WHAT=%s", ex.what())); in getProperties()
108 // "Scale" x -3 in getProperties()
114 prop->unit = std::get<std::string>(findUnit->second); in getProperties()
120 prop->min = 0; in getProperties()
121 prop->max = 0; in getProperties()
122 prop->scale = 0; in getProperties()
125 prop->scale = std::get<int64_t>(findScale->second); in getProperties()
129 prop->max = std::visit(VariantToDoubleVisitor(), findMax->second); in getProperties()
133 prop->min = std::visit(VariantToDoubleVisitor(), findMin->second); in getProperties()
136 prop->value = std::visit(VariantToDoubleVisitor(), propMap["Value"]); in getProperties()
143 catch (const sdbusplus::exception_t& ex) in getProperties() local
147 prop->available = available; in getProperties()
179 asserted = std::get<bool>(findCriticalLow->second); in thresholdsAsserted()
186 asserted = std::get<bool>(findCriticalHigh->second); in thresholdsAsserted()
203 // sensors don't have to expose non-critical thresholds in thresholdsAsserted()
210 asserted = std::get<bool>(findWarningHigh->second); in thresholdsAsserted()