diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-03-21 22:58:28 -0500 |
---|---|---|
committer | Andrew Geissler <andrewg@us.ibm.com> | 2017-05-09 12:50:39 -0500 |
commit | 1286637013b65a615e37d8677d75a1bba4c53e4b (patch) | |
tree | aae064436865ce2f3d4bb44c42e52e8449294694 /elog-errors.hpp | |
parent | 1b9d4e5c676f5f2fd35583dc5e3459783a650578 (diff) | |
download | phosphor-host-ipmid-1286637013b65a615e37d8677d75a1bba4c53e4b.tar.gz phosphor-host-ipmid-1286637013b65a615e37d8677d75a1bba4c53e4b.zip |
Implement basic queue for sending multiple commands
Sends dbus signal upon completion of command
Change-Id: Ic507f35af0b38305eecd5558c55738f2d283aac5
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'elog-errors.hpp')
-rw-r--r-- | elog-errors.hpp | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/elog-errors.hpp b/elog-errors.hpp new file mode 100644 index 0000000..de74160 --- /dev/null +++ b/elog-errors.hpp @@ -0,0 +1,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 |