exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4c07309c31740d17e90aa7831a6ac469643333ac
diff --git a/phosphor-regulators/src/presence_service.hpp b/phosphor-regulators/src/presence_service.hpp
index c81a671..79f839c 100644
--- a/phosphor-regulators/src/presence_service.hpp
+++ b/phosphor-regulators/src/presence_service.hpp
@@ -103,7 +103,7 @@
*
* @return true if exception type is expected, false otherwise
*/
- bool isExpectedException(const sdbusplus::exception::SdBusError& e);
+ bool isExpectedException(const sdbusplus::exception::exception& e);
/**
* D-Bus bus object.