xref: /openbmc/phosphor-power/elog-errors.hpp (revision 253dc9b9)
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 namespace sdbusplus
13 {
14 namespace xyz
15 {
16 namespace openbmc_project
17 {
18 namespace Power
19 {
20 namespace Fault
21 {
22 namespace Error
23 {
24     struct PowerOnFailure;
25 } // namespace Error
26 } // namespace Fault
27 } // namespace Power
28 } // namespace openbmc_project
29 } // namespace xyz
30 } // namespace sdbusplus
31 
32 namespace sdbusplus
33 {
34 namespace xyz
35 {
36 namespace openbmc_project
37 {
38 namespace Power
39 {
40 namespace Fault
41 {
42 namespace Error
43 {
44     struct PowerSequencerFault;
45 } // namespace Error
46 } // namespace Fault
47 } // namespace Power
48 } // namespace openbmc_project
49 } // namespace xyz
50 } // namespace sdbusplus
51 
52 namespace sdbusplus
53 {
54 namespace xyz
55 {
56 namespace openbmc_project
57 {
58 namespace Common
59 {
60 namespace Callout
61 {
62 namespace Error
63 {
64     struct GPIO;
65 } // namespace Error
66 } // namespace Callout
67 } // namespace Common
68 } // namespace openbmc_project
69 } // namespace xyz
70 } // namespace sdbusplus
71 
72 namespace sdbusplus
73 {
74 namespace xyz
75 {
76 namespace openbmc_project
77 {
78 namespace Common
79 {
80 namespace Callout
81 {
82 namespace Error
83 {
84     struct Inventory;
85 } // namespace Error
86 } // namespace Callout
87 } // namespace Common
88 } // namespace openbmc_project
89 } // namespace xyz
90 } // namespace sdbusplus
91 
92 namespace sdbusplus
93 {
94 namespace xyz
95 {
96 namespace openbmc_project
97 {
98 namespace Common
99 {
100 namespace Callout
101 {
102 namespace Error
103 {
104     struct IIC;
105 } // namespace Error
106 } // namespace Callout
107 } // namespace Common
108 } // namespace openbmc_project
109 } // namespace xyz
110 } // namespace sdbusplus
111 
112 namespace sdbusplus
113 {
114 namespace xyz
115 {
116 namespace openbmc_project
117 {
118 namespace Power
119 {
120 namespace Fault
121 {
122 namespace Error
123 {
124     struct PowerSequencerPGOODFault;
125 } // namespace Error
126 } // namespace Fault
127 } // namespace Power
128 } // namespace openbmc_project
129 } // namespace xyz
130 } // namespace sdbusplus
131 
132 namespace sdbusplus
133 {
134 namespace xyz
135 {
136 namespace openbmc_project
137 {
138 namespace Common
139 {
140 namespace Callout
141 {
142 namespace Error
143 {
144     struct Device;
145 } // namespace Error
146 } // namespace Callout
147 } // namespace Common
148 } // namespace openbmc_project
149 } // namespace xyz
150 } // namespace sdbusplus
151 
152 namespace sdbusplus
153 {
154 namespace xyz
155 {
156 namespace openbmc_project
157 {
158 namespace Power
159 {
160 namespace Fault
161 {
162 namespace Error
163 {
164     struct PowerSupplyUnderVoltageFault;
165 } // namespace Error
166 } // namespace Fault
167 } // namespace Power
168 } // namespace openbmc_project
169 } // namespace xyz
170 } // namespace sdbusplus
171 
172 namespace sdbusplus
173 {
174 namespace xyz
175 {
176 namespace openbmc_project
177 {
178 namespace Power
179 {
180 namespace Fault
181 {
182 namespace Error
183 {
184     struct PowerSupplyInputFault;
185 } // namespace Error
186 } // namespace Fault
187 } // namespace Power
188 } // namespace openbmc_project
189 } // namespace xyz
190 } // namespace sdbusplus
191 
192 namespace sdbusplus
193 {
194 namespace xyz
195 {
196 namespace openbmc_project
197 {
198 namespace Power
199 {
200 namespace Fault
201 {
202 namespace Error
203 {
204     struct GPUPowerFault;
205 } // namespace Error
206 } // namespace Fault
207 } // namespace Power
208 } // namespace openbmc_project
209 } // namespace xyz
210 } // namespace sdbusplus
211 
212 namespace sdbusplus
213 {
214 namespace xyz
215 {
216 namespace openbmc_project
217 {
218 namespace Power
219 {
220 namespace Fault
221 {
222 namespace Error
223 {
224     struct GPUOverTemp;
225 } // namespace Error
226 } // namespace Fault
227 } // namespace Power
228 } // namespace openbmc_project
229 } // namespace xyz
230 } // namespace sdbusplus
231 
232 namespace sdbusplus
233 {
234 namespace xyz
235 {
236 namespace openbmc_project
237 {
238 namespace Common
239 {
240 namespace Callout
241 {
242 namespace Error
243 {
244     struct IPMISensor;
245 } // namespace Error
246 } // namespace Callout
247 } // namespace Common
248 } // namespace openbmc_project
249 } // namespace xyz
250 } // namespace sdbusplus
251 
252 namespace sdbusplus
253 {
254 namespace xyz
255 {
256 namespace openbmc_project
257 {
258 namespace Power
259 {
260 namespace Fault
261 {
262 namespace Error
263 {
264     struct PowerSequencerVoltageFault;
265 } // namespace Error
266 } // namespace Fault
267 } // namespace Power
268 } // namespace openbmc_project
269 } // namespace xyz
270 } // namespace sdbusplus
271 
272 namespace sdbusplus
273 {
274 namespace xyz
275 {
276 namespace openbmc_project
277 {
278 namespace Power
279 {
280 namespace Fault
281 {
282 namespace Error
283 {
284     struct Shutdown;
285 } // namespace Error
286 } // namespace Fault
287 } // namespace Power
288 } // namespace openbmc_project
289 } // namespace xyz
290 } // namespace sdbusplus
291 
292 
293 namespace phosphor
294 {
295 
296 namespace logging
297 {
298 
299 namespace xyz
300 {
301 namespace openbmc_project
302 {
303 namespace Common
304 {
305 namespace Callout
306 {
307 namespace _Device
308 {
309 
310 struct CALLOUT_ERRNO
311 {
312     static constexpr auto str = "CALLOUT_ERRNO=%d";
313     static constexpr auto str_short = "CALLOUT_ERRNO";
314     using type = std::tuple<std::decay_t<decltype(str)>,int32_t>;
315     explicit constexpr CALLOUT_ERRNO(int32_t a) : _entry(entry(str, a)) {};
316     type _entry;
317 };
318 struct CALLOUT_DEVICE_PATH
319 {
320     static constexpr auto str = "CALLOUT_DEVICE_PATH=%s";
321     static constexpr auto str_short = "CALLOUT_DEVICE_PATH";
322     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
323     explicit constexpr CALLOUT_DEVICE_PATH(const char* a) : _entry(entry(str, a)) {};
324     type _entry;
325 };
326 
327 }  // namespace _Device
328 
329 struct Device
330 {
331     static constexpr auto L = level::ERR;
332     using CALLOUT_ERRNO = _Device::CALLOUT_ERRNO;
333     using CALLOUT_DEVICE_PATH = _Device::CALLOUT_DEVICE_PATH;
334     using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
335 
336 };
337 
338 } // namespace Callout
339 } // namespace Common
340 } // namespace openbmc_project
341 } // namespace xyz
342 
343 
344 namespace details
345 {
346 
347 template <>
348 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::Device>
349 {
350     using type = xyz::openbmc_project::Common::Callout::Device;
351 };
352 
353 }
354 
355 namespace xyz
356 {
357 namespace openbmc_project
358 {
359 namespace Common
360 {
361 namespace Callout
362 {
363 namespace _GPIO
364 {
365 
366 struct CALLOUT_GPIO_NUM
367 {
368     static constexpr auto str = "CALLOUT_GPIO_NUM=%u";
369     static constexpr auto str_short = "CALLOUT_GPIO_NUM";
370     using type = std::tuple<std::decay_t<decltype(str)>,uint32_t>;
371     explicit constexpr CALLOUT_GPIO_NUM(uint32_t a) : _entry(entry(str, a)) {};
372     type _entry;
373 };
374 
375 }  // namespace _GPIO
376 
377 struct GPIO
378 {
379     static constexpr auto L = level::ERR;
380     using CALLOUT_GPIO_NUM = _GPIO::CALLOUT_GPIO_NUM;
381     using CALLOUT_ERRNO = xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
382     using CALLOUT_DEVICE_PATH = xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
383     using metadata_types = std::tuple<CALLOUT_GPIO_NUM, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
384 
385 };
386 
387 } // namespace Callout
388 } // namespace Common
389 } // namespace openbmc_project
390 } // namespace xyz
391 
392 
393 namespace details
394 {
395 
396 template <>
397 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::GPIO>
398 {
399     using type = xyz::openbmc_project::Common::Callout::GPIO;
400 };
401 
402 }
403 
404 namespace xyz
405 {
406 namespace openbmc_project
407 {
408 namespace Common
409 {
410 namespace Callout
411 {
412 namespace _IIC
413 {
414 
415 struct CALLOUT_IIC_BUS
416 {
417     static constexpr auto str = "CALLOUT_IIC_BUS=%s";
418     static constexpr auto str_short = "CALLOUT_IIC_BUS";
419     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
420     explicit constexpr CALLOUT_IIC_BUS(const char* a) : _entry(entry(str, a)) {};
421     type _entry;
422 };
423 struct CALLOUT_IIC_ADDR
424 {
425     static constexpr auto str = "CALLOUT_IIC_ADDR=0x%hx";
426     static constexpr auto str_short = "CALLOUT_IIC_ADDR";
427     using type = std::tuple<std::decay_t<decltype(str)>,uint16_t>;
428     explicit constexpr CALLOUT_IIC_ADDR(uint16_t a) : _entry(entry(str, a)) {};
429     type _entry;
430 };
431 
432 }  // namespace _IIC
433 
434 struct IIC
435 {
436     static constexpr auto L = level::ERR;
437     using CALLOUT_IIC_BUS = _IIC::CALLOUT_IIC_BUS;
438     using CALLOUT_IIC_ADDR = _IIC::CALLOUT_IIC_ADDR;
439     using CALLOUT_ERRNO = xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
440     using CALLOUT_DEVICE_PATH = xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
441     using metadata_types = std::tuple<CALLOUT_IIC_BUS, CALLOUT_IIC_ADDR, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
442 
443 };
444 
445 } // namespace Callout
446 } // namespace Common
447 } // namespace openbmc_project
448 } // namespace xyz
449 
450 
451 namespace details
452 {
453 
454 template <>
455 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::IIC>
456 {
457     using type = xyz::openbmc_project::Common::Callout::IIC;
458 };
459 
460 }
461 
462 namespace xyz
463 {
464 namespace openbmc_project
465 {
466 namespace Common
467 {
468 namespace Callout
469 {
470 namespace _Inventory
471 {
472 
473 struct CALLOUT_INVENTORY_PATH
474 {
475     static constexpr auto str = "CALLOUT_INVENTORY_PATH=%s";
476     static constexpr auto str_short = "CALLOUT_INVENTORY_PATH";
477     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
478     explicit constexpr CALLOUT_INVENTORY_PATH(const char* a) : _entry(entry(str, a)) {};
479     type _entry;
480 };
481 
482 }  // namespace _Inventory
483 
484 struct Inventory
485 {
486     static constexpr auto L = level::ERR;
487     using CALLOUT_INVENTORY_PATH = _Inventory::CALLOUT_INVENTORY_PATH;
488     using metadata_types = std::tuple<CALLOUT_INVENTORY_PATH>;
489 
490 };
491 
492 } // namespace Callout
493 } // namespace Common
494 } // namespace openbmc_project
495 } // namespace xyz
496 
497 
498 namespace details
499 {
500 
501 template <>
502 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::Inventory>
503 {
504     using type = xyz::openbmc_project::Common::Callout::Inventory;
505 };
506 
507 }
508 
509 namespace xyz
510 {
511 namespace openbmc_project
512 {
513 namespace Common
514 {
515 namespace Callout
516 {
517 namespace _IPMISensor
518 {
519 
520 struct CALLOUT_IPMI_SENSOR_NUM
521 {
522     static constexpr auto str = "CALLOUT_IPMI_SENSOR_NUM=%u";
523     static constexpr auto str_short = "CALLOUT_IPMI_SENSOR_NUM";
524     using type = std::tuple<std::decay_t<decltype(str)>,uint32_t>;
525     explicit constexpr CALLOUT_IPMI_SENSOR_NUM(uint32_t a) : _entry(entry(str, a)) {};
526     type _entry;
527 };
528 
529 }  // namespace _IPMISensor
530 
531 struct IPMISensor
532 {
533     static constexpr auto L = level::ERR;
534     using CALLOUT_IPMI_SENSOR_NUM = _IPMISensor::CALLOUT_IPMI_SENSOR_NUM;
535     using metadata_types = std::tuple<CALLOUT_IPMI_SENSOR_NUM>;
536 
537 };
538 
539 } // namespace Callout
540 } // namespace Common
541 } // namespace openbmc_project
542 } // namespace xyz
543 
544 
545 namespace details
546 {
547 
548 template <>
549 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::IPMISensor>
550 {
551     using type = xyz::openbmc_project::Common::Callout::IPMISensor;
552 };
553 
554 }
555 
556 namespace xyz
557 {
558 namespace openbmc_project
559 {
560 namespace Power
561 {
562 namespace Fault
563 {
564 namespace _PowerSupplyUnderVoltageFault
565 {
566 
567 struct RAW_STATUS
568 {
569     static constexpr auto str = "RAW_STATUS=%s";
570     static constexpr auto str_short = "RAW_STATUS";
571     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
572     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
573     type _entry;
574 };
575 
576 }  // namespace _PowerSupplyUnderVoltageFault
577 
578 struct PowerSupplyUnderVoltageFault
579 {
580     static constexpr auto L = level::ERR;
581     using RAW_STATUS = _PowerSupplyUnderVoltageFault::RAW_STATUS;
582     using metadata_types = std::tuple<RAW_STATUS>;
583 
584 };
585 
586 } // namespace Fault
587 } // namespace Power
588 } // namespace openbmc_project
589 } // namespace xyz
590 
591 
592 namespace details
593 {
594 
595 template <>
596 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSupplyUnderVoltageFault>
597 {
598     using type = xyz::openbmc_project::Power::Fault::PowerSupplyUnderVoltageFault;
599 };
600 
601 }
602 
603 namespace xyz
604 {
605 namespace openbmc_project
606 {
607 namespace Power
608 {
609 namespace Fault
610 {
611 namespace _PowerSupplyInputFault
612 {
613 
614 struct RAW_STATUS
615 {
616     static constexpr auto str = "RAW_STATUS=%s";
617     static constexpr auto str_short = "RAW_STATUS";
618     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
619     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
620     type _entry;
621 };
622 
623 }  // namespace _PowerSupplyInputFault
624 
625 struct PowerSupplyInputFault
626 {
627     static constexpr auto L = level::ERR;
628     using RAW_STATUS = _PowerSupplyInputFault::RAW_STATUS;
629     using metadata_types = std::tuple<RAW_STATUS>;
630 
631 };
632 
633 } // namespace Fault
634 } // namespace Power
635 } // namespace openbmc_project
636 } // namespace xyz
637 
638 
639 namespace details
640 {
641 
642 template <>
643 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSupplyInputFault>
644 {
645     using type = xyz::openbmc_project::Power::Fault::PowerSupplyInputFault;
646 };
647 
648 }
649 
650 namespace xyz
651 {
652 namespace openbmc_project
653 {
654 namespace Power
655 {
656 namespace Fault
657 {
658 namespace _Shutdown
659 {
660 
661 
662 }  // namespace _Shutdown
663 
664 struct Shutdown
665 {
666     static constexpr auto L = level::ERR;
667     using metadata_types = std::tuple<>;
668 
669 };
670 
671 } // namespace Fault
672 } // namespace Power
673 } // namespace openbmc_project
674 } // namespace xyz
675 
676 
677 namespace details
678 {
679 
680 template <>
681 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::Shutdown>
682 {
683     using type = xyz::openbmc_project::Power::Fault::Shutdown;
684 };
685 
686 }
687 
688 namespace xyz
689 {
690 namespace openbmc_project
691 {
692 namespace Power
693 {
694 namespace Fault
695 {
696 namespace _PowerOnFailure
697 {
698 
699 
700 }  // namespace _PowerOnFailure
701 
702 struct PowerOnFailure
703 {
704     static constexpr auto L = level::ERR;
705     using metadata_types = std::tuple<>;
706 
707 };
708 
709 } // namespace Fault
710 } // namespace Power
711 } // namespace openbmc_project
712 } // namespace xyz
713 
714 
715 namespace details
716 {
717 
718 template <>
719 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerOnFailure>
720 {
721     using type = xyz::openbmc_project::Power::Fault::PowerOnFailure;
722 };
723 
724 }
725 
726 namespace xyz
727 {
728 namespace openbmc_project
729 {
730 namespace Power
731 {
732 namespace Fault
733 {
734 namespace _PowerSequencerVoltageFault
735 {
736 
737 struct RAIL
738 {
739     static constexpr auto str = "RAIL=%d";
740     static constexpr auto str_short = "RAIL";
741     using type = std::tuple<std::decay_t<decltype(str)>,uint16_t>;
742     explicit constexpr RAIL(uint16_t a) : _entry(entry(str, a)) {};
743     type _entry;
744 };
745 struct RAIL_NAME
746 {
747     static constexpr auto str = "RAIL_NAME=%s";
748     static constexpr auto str_short = "RAIL_NAME";
749     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
750     explicit constexpr RAIL_NAME(const char* a) : _entry(entry(str, a)) {};
751     type _entry;
752 };
753 struct RAW_STATUS
754 {
755     static constexpr auto str = "RAW_STATUS=%s";
756     static constexpr auto str_short = "RAW_STATUS";
757     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
758     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
759     type _entry;
760 };
761 
762 }  // namespace _PowerSequencerVoltageFault
763 
764 struct PowerSequencerVoltageFault
765 {
766     static constexpr auto L = level::ERR;
767     using RAIL = _PowerSequencerVoltageFault::RAIL;
768     using RAIL_NAME = _PowerSequencerVoltageFault::RAIL_NAME;
769     using RAW_STATUS = _PowerSequencerVoltageFault::RAW_STATUS;
770     using metadata_types = std::tuple<RAIL, RAIL_NAME, RAW_STATUS>;
771 
772 };
773 
774 } // namespace Fault
775 } // namespace Power
776 } // namespace openbmc_project
777 } // namespace xyz
778 
779 
780 namespace details
781 {
782 
783 template <>
784 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSequencerVoltageFault>
785 {
786     using type = xyz::openbmc_project::Power::Fault::PowerSequencerVoltageFault;
787 };
788 
789 }
790 
791 namespace xyz
792 {
793 namespace openbmc_project
794 {
795 namespace Power
796 {
797 namespace Fault
798 {
799 namespace _PowerSequencerPGOODFault
800 {
801 
802 struct INPUT_NUM
803 {
804     static constexpr auto str = "INPUT_NUM=%d";
805     static constexpr auto str_short = "INPUT_NUM";
806     using type = std::tuple<std::decay_t<decltype(str)>,uint16_t>;
807     explicit constexpr INPUT_NUM(uint16_t a) : _entry(entry(str, a)) {};
808     type _entry;
809 };
810 struct INPUT_NAME
811 {
812     static constexpr auto str = "INPUT_NAME=%s";
813     static constexpr auto str_short = "INPUT_NAME";
814     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
815     explicit constexpr INPUT_NAME(const char* a) : _entry(entry(str, a)) {};
816     type _entry;
817 };
818 struct RAW_STATUS
819 {
820     static constexpr auto str = "RAW_STATUS=%s";
821     static constexpr auto str_short = "RAW_STATUS";
822     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
823     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
824     type _entry;
825 };
826 
827 }  // namespace _PowerSequencerPGOODFault
828 
829 struct PowerSequencerPGOODFault
830 {
831     static constexpr auto L = level::ERR;
832     using INPUT_NUM = _PowerSequencerPGOODFault::INPUT_NUM;
833     using INPUT_NAME = _PowerSequencerPGOODFault::INPUT_NAME;
834     using RAW_STATUS = _PowerSequencerPGOODFault::RAW_STATUS;
835     using metadata_types = std::tuple<INPUT_NUM, INPUT_NAME, RAW_STATUS>;
836 
837 };
838 
839 } // namespace Fault
840 } // namespace Power
841 } // namespace openbmc_project
842 } // namespace xyz
843 
844 
845 namespace details
846 {
847 
848 template <>
849 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSequencerPGOODFault>
850 {
851     using type = xyz::openbmc_project::Power::Fault::PowerSequencerPGOODFault;
852 };
853 
854 }
855 
856 namespace xyz
857 {
858 namespace openbmc_project
859 {
860 namespace Power
861 {
862 namespace Fault
863 {
864 namespace _PowerSequencerFault
865 {
866 
867 struct RAW_STATUS
868 {
869     static constexpr auto str = "RAW_STATUS=%s";
870     static constexpr auto str_short = "RAW_STATUS";
871     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
872     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
873     type _entry;
874 };
875 
876 }  // namespace _PowerSequencerFault
877 
878 struct PowerSequencerFault
879 {
880     static constexpr auto L = level::ERR;
881     using RAW_STATUS = _PowerSequencerFault::RAW_STATUS;
882     using metadata_types = std::tuple<RAW_STATUS>;
883 
884 };
885 
886 } // namespace Fault
887 } // namespace Power
888 } // namespace openbmc_project
889 } // namespace xyz
890 
891 
892 namespace details
893 {
894 
895 template <>
896 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSequencerFault>
897 {
898     using type = xyz::openbmc_project::Power::Fault::PowerSequencerFault;
899 };
900 
901 }
902 
903 namespace xyz
904 {
905 namespace openbmc_project
906 {
907 namespace Power
908 {
909 namespace Fault
910 {
911 namespace _GPUPowerFault
912 {
913 
914 struct RAW_STATUS
915 {
916     static constexpr auto str = "RAW_STATUS=%s";
917     static constexpr auto str_short = "RAW_STATUS";
918     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
919     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
920     type _entry;
921 };
922 struct GPU
923 {
924     static constexpr auto str = "GPU=%s";
925     static constexpr auto str_short = "GPU";
926     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
927     explicit constexpr GPU(const char* a) : _entry(entry(str, a)) {};
928     type _entry;
929 };
930 
931 }  // namespace _GPUPowerFault
932 
933 struct GPUPowerFault
934 {
935     static constexpr auto L = level::ERR;
936     using RAW_STATUS = _GPUPowerFault::RAW_STATUS;
937     using GPU = _GPUPowerFault::GPU;
938     using metadata_types = std::tuple<RAW_STATUS, GPU>;
939 
940 };
941 
942 } // namespace Fault
943 } // namespace Power
944 } // namespace openbmc_project
945 } // namespace xyz
946 
947 
948 namespace details
949 {
950 
951 template <>
952 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::GPUPowerFault>
953 {
954     using type = xyz::openbmc_project::Power::Fault::GPUPowerFault;
955 };
956 
957 }
958 
959 namespace xyz
960 {
961 namespace openbmc_project
962 {
963 namespace Power
964 {
965 namespace Fault
966 {
967 namespace _GPUOverTemp
968 {
969 
970 struct RAW_STATUS
971 {
972     static constexpr auto str = "RAW_STATUS=%s";
973     static constexpr auto str_short = "RAW_STATUS";
974     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
975     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
976     type _entry;
977 };
978 struct GPU
979 {
980     static constexpr auto str = "GPU=%s";
981     static constexpr auto str_short = "GPU";
982     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
983     explicit constexpr GPU(const char* a) : _entry(entry(str, a)) {};
984     type _entry;
985 };
986 
987 }  // namespace _GPUOverTemp
988 
989 struct GPUOverTemp
990 {
991     static constexpr auto L = level::ERR;
992     using RAW_STATUS = _GPUOverTemp::RAW_STATUS;
993     using GPU = _GPUOverTemp::GPU;
994     using metadata_types = std::tuple<RAW_STATUS, GPU>;
995 
996 };
997 
998 } // namespace Fault
999 } // namespace Power
1000 } // namespace openbmc_project
1001 } // namespace xyz
1002 
1003 
1004 namespace details
1005 {
1006 
1007 template <>
1008 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::GPUOverTemp>
1009 {
1010     using type = xyz::openbmc_project::Power::Fault::GPUOverTemp;
1011 };
1012 
1013 }
1014 
1015 
1016 } // namespace logging
1017 
1018 } // namespace phosphor
1019