summaryrefslogtreecommitdiffstats
path: root/elog-errors.hpp
blob: de741602bfd7287bd3ce2117e0b82bc8da55a1f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// This file was autogenerated.  Do not edit!
// See elog-gen.py for more details
#pragma once

#include <string>
#include <tuple>
#include <type_traits>
#include <sdbusplus/exception.hpp>
#include <phosphor-logging/log.hpp>
#include <phosphor-logging/elog.hpp>


namespace phosphor
{

namespace logging
{

namespace xyz
{
namespace openbmc_project
{
namespace Control
{
namespace Internal
{
namespace Host
{
namespace _QueueEmpty
{


}  // namespace _QueueEmpty

struct QueueEmpty : public sdbusplus::exception_t
{
    static constexpr auto errName = "xyz.openbmc_project.Control.Internal.Host.QueueEmpty";
    static constexpr auto errDesc = "The host response queue is empty and it should not be!";
    static constexpr auto L = level::ERR;
    using metadata_types = std::tuple<>;

    const char* name() const noexcept
    {
        return errName;
    }

    const char* description() const noexcept
    {
        return errDesc;
    }

    const char* what() const noexcept
    {
        return errName;
    }
};

} // namespace Host
} // namespace Internal
} // namespace Control
} // namespace openbmc_project
} // namespace xyz


} // namespace logging

} // namespace phosphor
OpenPOWER on IntegriCloud