Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [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 xyz |
| 15 | { |
| 16 | namespace openbmc_project |
| 17 | { |
| 18 | namespace Power |
| 19 | { |
| 20 | namespace Fault |
| 21 | { |
| 22 | namespace Error |
| 23 | { |
Matt Spinler | facfa90 | 2017-08-14 13:43:36 -0500 | [diff] [blame] | 24 | struct PowerOnFailure; |
| 25 | } // namespace Error |
| 26 | } // namespace Fault |
| 27 | } // namespace Power |
| 28 | } // namespace openbmc_project |
| 29 | } // namespace xyz |
| 30 | } // namespace sdbusplus |
| 31 | |
| 32 | namespace sdbusplus |
| 33 | { |
| 34 | namespace xyz |
| 35 | { |
| 36 | namespace openbmc_project |
| 37 | { |
| 38 | namespace Power |
| 39 | { |
| 40 | namespace Fault |
| 41 | { |
| 42 | namespace Error |
| 43 | { |
Matt Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 44 | struct Shutdown; |
| 45 | } // namespace Error |
| 46 | } // namespace Fault |
| 47 | } // namespace Power |
| 48 | } // namespace openbmc_project |
| 49 | } // namespace xyz |
| 50 | } // namespace sdbusplus |
| 51 | |
| 52 | |
| 53 | namespace phosphor |
| 54 | { |
| 55 | |
| 56 | namespace logging |
| 57 | { |
| 58 | |
| 59 | namespace xyz |
| 60 | { |
| 61 | namespace openbmc_project |
| 62 | { |
| 63 | namespace Power |
| 64 | { |
| 65 | namespace Fault |
| 66 | { |
| 67 | namespace _Shutdown |
| 68 | { |
| 69 | |
| 70 | |
| 71 | } // namespace _Shutdown |
| 72 | |
| 73 | struct 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 | |
| 86 | namespace details |
| 87 | { |
| 88 | |
| 89 | template <> |
| 90 | struct 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 Spinler | facfa90 | 2017-08-14 13:43:36 -0500 | [diff] [blame] | 97 | namespace xyz |
| 98 | { |
| 99 | namespace openbmc_project |
| 100 | { |
| 101 | namespace Power |
| 102 | { |
| 103 | namespace Fault |
| 104 | { |
| 105 | namespace _PowerOnFailure |
| 106 | { |
| 107 | |
| 108 | |
| 109 | } // namespace _PowerOnFailure |
| 110 | |
| 111 | struct 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 | |
| 124 | namespace details |
| 125 | { |
| 126 | |
| 127 | template <> |
| 128 | struct 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 Spinler | 84cd0a5 | 2017-08-04 08:53:30 -0500 | [diff] [blame] | 135 | |
| 136 | } // namespace logging |
| 137 | |
| 138 | } // namespace phosphor |