Andrew Geissler | 1286637 | 2017-03-21 22:58:28 -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 | |
| 13 | namespace phosphor |
| 14 | { |
| 15 | |
| 16 | namespace logging |
| 17 | { |
| 18 | |
| 19 | namespace xyz |
| 20 | { |
| 21 | namespace openbmc_project |
| 22 | { |
| 23 | namespace Control |
| 24 | { |
| 25 | namespace Internal |
| 26 | { |
| 27 | namespace Host |
| 28 | { |
| 29 | namespace _QueueEmpty |
| 30 | { |
| 31 | |
| 32 | |
| 33 | } // namespace _QueueEmpty |
| 34 | |
| 35 | struct QueueEmpty : public sdbusplus::exception_t |
| 36 | { |
| 37 | static constexpr auto errName = "xyz.openbmc_project.Control.Internal.Host.QueueEmpty"; |
| 38 | static constexpr auto errDesc = "The host response queue is empty and it should not be!"; |
| 39 | static constexpr auto L = level::ERR; |
| 40 | using metadata_types = std::tuple<>; |
| 41 | |
| 42 | const char* name() const noexcept |
| 43 | { |
| 44 | return errName; |
| 45 | } |
| 46 | |
| 47 | const char* description() const noexcept |
| 48 | { |
| 49 | return errDesc; |
| 50 | } |
| 51 | |
| 52 | const char* what() const noexcept |
| 53 | { |
| 54 | return errName; |
| 55 | } |
| 56 | }; |
| 57 | |
| 58 | } // namespace Host |
| 59 | } // namespace Internal |
| 60 | } // namespace Control |
| 61 | } // namespace openbmc_project |
| 62 | } // namespace xyz |
| 63 | |
| 64 | |
| 65 | } // namespace logging |
| 66 | |
| 67 | } // namespace phosphor |