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