blob: 1fe8470d65ace6c4e32474247055e050d1a65ccc [file] [log] [blame]
Matt Spinler84cd0a52017-08-04 08:53:30 -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
12namespace sdbusplus
13{
14namespace xyz
15{
16namespace openbmc_project
17{
18namespace Power
19{
20namespace Fault
21{
22namespace Error
23{
24 struct Shutdown;
25} // namespace Error
26} // namespace Fault
27} // namespace Power
28} // namespace openbmc_project
29} // namespace xyz
30} // namespace sdbusplus
31
32
33namespace phosphor
34{
35
36namespace logging
37{
38
39namespace xyz
40{
41namespace openbmc_project
42{
43namespace Power
44{
45namespace Fault
46{
47namespace _Shutdown
48{
49
50
51} // namespace _Shutdown
52
53struct Shutdown
54{
55 static constexpr auto L = level::ERR;
56 using metadata_types = std::tuple<>;
57
58};
59
60} // namespace Fault
61} // namespace Power
62} // namespace openbmc_project
63} // namespace xyz
64
65
66namespace details
67{
68
69template <>
70struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::Shutdown>
71{
72 using type = xyz::openbmc_project::Power::Fault::Shutdown;
73};
74
75}
76
77
78} // namespace logging
79
80} // namespace phosphor