regulators: Add info to WriteVerificationError

Add more information to the WriteVerificationError 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 WriteVerificationError to adapt to the
new constructor and get methods.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I1e7fb321efe86b54dcd32a9752ec7465be90ad48
diff --git a/phosphor-regulators/src/actions/pmbus_write_vout_command_action.cpp b/phosphor-regulators/src/actions/pmbus_write_vout_command_action.cpp
index 9e02746..ca1756f 100644
--- a/phosphor-regulators/src/actions/pmbus_write_vout_command_action.cpp
+++ b/phosphor-regulators/src/actions/pmbus_write_vout_command_action.cpp
@@ -161,7 +161,8 @@
         ss << "device: " << environment.getDeviceID()
            << ", register: VOUT_COMMAND, value_written: 0x" << std::hex
            << std::uppercase << valueWritten << ", value_read: 0x" << valueRead;
-        throw WriteVerificationError(ss.str());
+        throw WriteVerificationError(ss.str(), environment.getDeviceID(),
+                                     environment.getDevice().getFRU());
     }
 }