blob: a1d9316ebcdb85670810daeb68a52b68a11b5caa [file] [log] [blame]
Vishwanatha Subbanna0eff6092017-06-12 21:03:36 +05301// 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 org
15{
16namespace open_power
17{
18namespace Host
19{
20namespace Error
21{
22 struct Checkstop;
23} // namespace Error
24} // namespace Host
25} // namespace open_power
26} // namespace org
27} // namespace sdbusplus
28
29namespace sdbusplus
30{
31namespace org
32{
33namespace open_power
34{
35namespace Host
36{
37namespace Error
38{
39 struct WatchdogTimedOut;
40} // namespace Error
41} // namespace Host
42} // namespace open_power
43} // namespace org
44} // namespace sdbusplus
45
46
47namespace phosphor
48{
49
50namespace logging
51{
52
53namespace org
54{
55namespace open_power
56{
57namespace Host
58{
59namespace _Checkstop
60{
61
62
63} // namespace _Checkstop
64
65struct Checkstop
66{
67 static constexpr auto L = level::ERR;
68 using metadata_types = std::tuple<>;
69
70};
71
72} // namespace Host
73} // namespace open_power
74} // namespace org
75
76
77namespace details
78{
79
80template <>
81struct map_exception_type<sdbusplus::org::open_power::Host::Error::Checkstop>
82{
83 using type = org::open_power::Host::Checkstop;
84};
85
86}
87
88namespace org
89{
90namespace open_power
91{
92namespace Host
93{
94namespace _WatchdogTimedOut
95{
96
97
98} // namespace _WatchdogTimedOut
99
100struct WatchdogTimedOut
101{
102 static constexpr auto L = level::ERR;
103 using metadata_types = std::tuple<>;
104
105};
106
107} // namespace Host
108} // namespace open_power
109} // namespace org
110
111
112namespace details
113{
114
115template <>
116struct map_exception_type<sdbusplus::org::open_power::Host::Error::WatchdogTimedOut>
117{
118 using type = org::open_power::Host::WatchdogTimedOut;
119};
120
121}
122
123} // namespace logging
124
125} // namespace phosphor