1 #pragma once
2 
3 #include <sdbusplus/exception.hpp>
4 
5 namespace sdbusplus
6 {
7 namespace org
8 {
9 namespace open_power
10 {
11 namespace Host
12 {
13 namespace Event
14 {
15 namespace Error
16 {
17 
18 struct Event final : public sdbusplus::exception_t
19 {
20     static constexpr auto errName = "org.open_power.Host.Event.Error.Event";
21     static constexpr auto errDesc =
22             "A host system event was received";
23     static constexpr auto errWhat =
24             "org.open_power.Host.Event.Error.Event: A host system event was received";
25 
26     const char* name() const noexcept override;
27     const char* description() const noexcept override;
28     const char* what() const noexcept override;
29 };
30 
31 } // namespace Error
32 } // namespace Event
33 } // namespace Host
34 } // namespace open_power
35 } // namespace org
36 } // namespace sdbusplus
37 
38