diff options
Diffstat (limited to 'error-HostEvent.hpp')
-rw-r--r-- | error-HostEvent.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/error-HostEvent.hpp b/error-HostEvent.hpp index 186e28e..40872a1 100644 --- a/error-HostEvent.hpp +++ b/error-HostEvent.hpp @@ -26,6 +26,19 @@ struct Event final : public sdbusplus::exception_t const char* what() const noexcept override; }; +struct MaintenanceProcedure final : public sdbusplus::exception_t +{ + static constexpr auto errName = "org.open_power.Host.Error.MaintenanceProcedure"; + static constexpr auto errDesc = + "A host system event with a procedure callout"; + static constexpr auto errWhat = + "org.open_power.Host.Error.MaintenanceProcedure: A host system event with a procedure callout"; + + const char* name() const noexcept override; + const char* description() const noexcept override; + const char* what() const noexcept override; +}; + } // namespace Error } // namespace Host } // namespace open_power |