regulators: Add more info to PMBusError

Add more information to the PMBusError exception:
* Unique ID of the device where the error occurred
* Inventory path of the device where the error occurred

This information is required in order to create an error log entry based
on the exception.

Modify files that currently use PMBusError to adapt to the new
constructor and get methods.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Iadae82468df3ee46bdd5445f130c43502d454e96
diff --git a/phosphor-regulators/src/actions/pmbus_write_vout_command_action.hpp b/phosphor-regulators/src/actions/pmbus_write_vout_command_action.hpp
index 4ed1e10..e77ced1 100644
--- a/phosphor-regulators/src/actions/pmbus_write_vout_command_action.hpp
+++ b/phosphor-regulators/src/actions/pmbus_write_vout_command_action.hpp
@@ -189,10 +189,12 @@
      *
      * Throws an exception if an error occurs.
      *
+     * @param environment action execution environment
      * @param interface I2C interface to the current device
      * @return exponent value
      */
-    int8_t getExponentValue(i2c::I2CInterface& interface);
+    int8_t getExponentValue(ActionEnvironment& environment,
+                            i2c::I2CInterface& interface);
 
     /**
      * Gets the volts value to write to VOUT_COMMAND.