summaryrefslogtreecommitdiffstats
path: root/softoff/elog-gen-softoff.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'softoff/elog-gen-softoff.hpp')
-rw-r--r--softoff/elog-gen-softoff.hpp61
1 files changed, 61 insertions, 0 deletions
diff --git a/softoff/elog-gen-softoff.hpp b/softoff/elog-gen-softoff.hpp
new file mode 100644
index 0000000..e863633
--- /dev/null
+++ b/softoff/elog-gen-softoff.hpp
@@ -0,0 +1,61 @@
+// This file was autogenerated. Do not edit!
+// See elog-gen.py for more details
+#pragma once
+
+#include <string>
+#include <tuple>
+#include <type_traits>
+#include <sdbusplus/exception.hpp>
+#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/elog.hpp>
+
+
+namespace phosphor
+{
+
+namespace logging
+{
+
+namespace xyz
+{
+namespace openbmc_project
+{
+namespace SoftPowerOff
+{
+namespace Internal
+{
+namespace _SoftOffFailed
+{
+
+} // namespace _SoftOffFailed
+
+struct SoftOffFailed : public sdbusplus::exception_t
+{
+ static constexpr auto errName = "xyz.openbmc_project.SoftPowerOff.Internal.SoftOffFailed";
+ static constexpr auto errDesc = "The SoftOff command to the host control object returned an error";
+ static constexpr auto L = level::ERR;
+ using metadata_types = std::tuple<>;
+
+ const char* name() const noexcept
+ {
+ return errName;
+ }
+
+ const char* description() const noexcept
+ {
+ return errDesc;
+ }
+
+ const char* what() const noexcept
+ {
+ return errName;
+ }
+};
+
+} // namespace Internal
+} // namespace SoftPowerOff
+} // namespace openbmc_project
+} // namespace xyz
+
+} // namespace logging
+} // namespace phosphor
OpenPOWER on IntegriCloud