blob: de741602bfd7287bd3ce2117e0b82bc8da55a1f4 [file] [log] [blame]
Andrew Geissler12866372017-03-21 22:58:28 -05001// 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
13namespace phosphor
14{
15
16namespace logging
17{
18
19namespace xyz
20{
21namespace openbmc_project
22{
23namespace Control
24{
25namespace Internal
26{
27namespace Host
28{
29namespace _QueueEmpty
30{
31
32
33} // namespace _QueueEmpty
34
35struct 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