psu-ng: Create error for communication fault

Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: I3f147063759559bf2486e78d9873c6d464381ddd
diff --git a/pmbus.hpp b/pmbus.hpp
index 1ca6536..6f5b91f 100644
--- a/pmbus.hpp
+++ b/pmbus.hpp
@@ -145,6 +145,7 @@
     virtual std::string readString(const std::string& name, Type type) = 0;
     virtual void writeBinary(const std::string& name, std::vector<uint8_t> data,
                              Type type) = 0;
+    virtual const fs::path& path() const = 0;
 };
 
 /**
@@ -308,7 +309,7 @@
     /**
      * Returns the sysfs base path of this device
      */
-    inline const auto& path() const
+    const fs::path& path() const override
     {
         return basePath;
     }