blob: f8abf21e3305ea0a58953020d735ad944578e55f [file] [log] [blame]
Tom Joseph448e74e2017-07-24 23:08:56 +05301#pragma once
2
3#include <sdbusplus/exception.hpp>
4
5namespace sdbusplus
6{
7namespace org
8{
9namespace open_power
10{
11namespace Host
12{
13namespace Event
14{
15namespace Error
16{
17
18struct 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