blob: e10831c85c34ef6f5e8e19d5f09c796d76fe2c54 [file] [log] [blame]
Matt Spinler84cd0a52017-08-04 08:53:30 -05001// This file was autogenerated. Do not edit!
2// See elog-gen.py for more details
3#pragma once
4
5#include <string>
6#include <tuple>
7#include <type_traits>
8#include <sdbusplus/exception.hpp>
9#include <phosphor-logging/log.hpp>
10#include <phosphor-logging/elog.hpp>
11
12namespace sdbusplus
13{
14namespace xyz
15{
16namespace openbmc_project
17{
18namespace Power
19{
20namespace Fault
21{
22namespace Error
23{
Matt Spinlerfacfa902017-08-14 13:43:36 -050024 struct PowerOnFailure;
25} // namespace Error
26} // namespace Fault
27} // namespace Power
28} // namespace openbmc_project
29} // namespace xyz
30} // namespace sdbusplus
31
32namespace sdbusplus
33{
34namespace xyz
35{
36namespace openbmc_project
37{
38namespace Power
39{
40namespace Fault
41{
42namespace Error
43{
Matt Spinler84cd0a52017-08-04 08:53:30 -050044 struct Shutdown;
45} // namespace Error
46} // namespace Fault
47} // namespace Power
48} // namespace openbmc_project
49} // namespace xyz
50} // namespace sdbusplus
51
52
53namespace phosphor
54{
55
56namespace logging
57{
58
59namespace xyz
60{
61namespace openbmc_project
62{
63namespace Power
64{
65namespace Fault
66{
67namespace _Shutdown
68{
69
70
71} // namespace _Shutdown
72
73struct Shutdown
74{
75 static constexpr auto L = level::ERR;
76 using metadata_types = std::tuple<>;
77
78};
79
80} // namespace Fault
81} // namespace Power
82} // namespace openbmc_project
83} // namespace xyz
84
85
86namespace details
87{
88
89template <>
90struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::Shutdown>
91{
92 using type = xyz::openbmc_project::Power::Fault::Shutdown;
93};
94
95}
96
Matt Spinlerfacfa902017-08-14 13:43:36 -050097namespace xyz
98{
99namespace openbmc_project
100{
101namespace Power
102{
103namespace Fault
104{
105namespace _PowerOnFailure
106{
107
108
109} // namespace _PowerOnFailure
110
111struct PowerOnFailure
112{
113 static constexpr auto L = level::ERR;
114 using metadata_types = std::tuple<>;
115
116};
117
118} // namespace Fault
119} // namespace Power
120} // namespace openbmc_project
121} // namespace xyz
122
123
124namespace details
125{
126
127template <>
128struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerOnFailure>
129{
130 using type = xyz::openbmc_project::Power::Fault::PowerOnFailure;
131};
132
133}
134
Matt Spinler84cd0a52017-08-04 08:53:30 -0500135
136} // namespace logging
137
138} // namespace phosphor