Vishwanatha Subbanna | 0eff609 | 2017-06-12 21:03:36 +0530 | [diff] [blame^] | 1 | // 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 | |
| 12 | namespace sdbusplus |
| 13 | { |
| 14 | namespace org |
| 15 | { |
| 16 | namespace open_power |
| 17 | { |
| 18 | namespace Host |
| 19 | { |
| 20 | namespace Error |
| 21 | { |
| 22 | struct Checkstop; |
| 23 | } // namespace Error |
| 24 | } // namespace Host |
| 25 | } // namespace open_power |
| 26 | } // namespace org |
| 27 | } // namespace sdbusplus |
| 28 | |
| 29 | namespace sdbusplus |
| 30 | { |
| 31 | namespace org |
| 32 | { |
| 33 | namespace open_power |
| 34 | { |
| 35 | namespace Host |
| 36 | { |
| 37 | namespace Error |
| 38 | { |
| 39 | struct WatchdogTimedOut; |
| 40 | } // namespace Error |
| 41 | } // namespace Host |
| 42 | } // namespace open_power |
| 43 | } // namespace org |
| 44 | } // namespace sdbusplus |
| 45 | |
| 46 | |
| 47 | namespace phosphor |
| 48 | { |
| 49 | |
| 50 | namespace logging |
| 51 | { |
| 52 | |
| 53 | namespace org |
| 54 | { |
| 55 | namespace open_power |
| 56 | { |
| 57 | namespace Host |
| 58 | { |
| 59 | namespace _Checkstop |
| 60 | { |
| 61 | |
| 62 | |
| 63 | } // namespace _Checkstop |
| 64 | |
| 65 | struct 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 | |
| 77 | namespace details |
| 78 | { |
| 79 | |
| 80 | template <> |
| 81 | struct map_exception_type<sdbusplus::org::open_power::Host::Error::Checkstop> |
| 82 | { |
| 83 | using type = org::open_power::Host::Checkstop; |
| 84 | }; |
| 85 | |
| 86 | } |
| 87 | |
| 88 | namespace org |
| 89 | { |
| 90 | namespace open_power |
| 91 | { |
| 92 | namespace Host |
| 93 | { |
| 94 | namespace _WatchdogTimedOut |
| 95 | { |
| 96 | |
| 97 | |
| 98 | } // namespace _WatchdogTimedOut |
| 99 | |
| 100 | struct 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 | |
| 112 | namespace details |
| 113 | { |
| 114 | |
| 115 | template <> |
| 116 | struct 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 |