Jayanth Othayoth | 1756c06 | 2017-05-23 22:48:11 -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 Dump |
| 19 | { |
| 20 | namespace Monitor |
| 21 | { |
| 22 | namespace Error |
| 23 | { |
| 24 | struct InvalidCorePath; |
| 25 | } // namespace Error |
| 26 | } // namespace Monitor |
| 27 | } // namespace Dump |
| 28 | } // namespace openbmc_project |
| 29 | } // namespace xyz |
| 30 | } // namespace sdbusplus |
| 31 | |
| 32 | |
| 33 | namespace phosphor |
| 34 | { |
| 35 | |
| 36 | namespace logging |
| 37 | { |
| 38 | |
| 39 | namespace xyz |
| 40 | { |
| 41 | namespace openbmc_project |
| 42 | { |
| 43 | namespace Dump |
| 44 | { |
| 45 | namespace Monitor |
| 46 | { |
| 47 | namespace _InvalidCorePath |
| 48 | { |
| 49 | |
| 50 | struct PATH |
| 51 | { |
| 52 | static constexpr auto str = "PATH=%s"; |
| 53 | static constexpr auto str_short = "PATH"; |
| 54 | using type = std::tuple<std::decay_t<decltype(str)>,const char*>; |
| 55 | explicit constexpr PATH(const char* a) : _entry(entry(str, a)) {}; |
| 56 | type _entry; |
| 57 | }; |
| 58 | |
| 59 | } // namespace _InvalidCorePath |
| 60 | |
| 61 | struct InvalidCorePath |
| 62 | { |
| 63 | static constexpr auto L = level::ERR; |
| 64 | using PATH = _InvalidCorePath::PATH; |
| 65 | using metadata_types = std::tuple<PATH>; |
| 66 | |
| 67 | }; |
| 68 | |
| 69 | } // namespace Monitor |
| 70 | } // namespace Dump |
| 71 | } // namespace openbmc_project |
| 72 | } // namespace xyz |
| 73 | |
| 74 | |
| 75 | namespace details |
| 76 | { |
| 77 | |
| 78 | template <> |
| 79 | struct map_exception_type<sdbusplus::xyz::openbmc_project::Dump::Monitor::Error::InvalidCorePath> |
| 80 | { |
| 81 | using type = xyz::openbmc_project::Dump::Monitor::InvalidCorePath; |
| 82 | }; |
| 83 | |
| 84 | } |
| 85 | |
| 86 | |
| 87 | } // namespace logging |
| 88 | |
| 89 | } // namespace phosphor |