xref: /openbmc/phosphor-power/elog-errors.hpp (revision b165c251)
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 Power
139 {
140 namespace Fault
141 {
142 namespace Error
143 {
144     struct PowerSupplyShouldBeOn;
145 } // namespace Error
146 } // namespace Fault
147 } // namespace Power
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 Common
159 {
160 namespace Callout
161 {
162 namespace Error
163 {
164     struct Device;
165 } // namespace Error
166 } // namespace Callout
167 } // namespace Common
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 PowerSupplyUnderVoltageFault;
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 PowerSupplyInputFault;
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 GPUPowerFault;
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 Power
239 {
240 namespace Fault
241 {
242 namespace Error
243 {
244     struct PowerSupplyOutputOvercurrent;
245 } // namespace Error
246 } // namespace Fault
247 } // namespace Power
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 GPUOverTemp;
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 Common
279 {
280 namespace Callout
281 {
282 namespace Error
283 {
284     struct IPMISensor;
285 } // namespace Error
286 } // namespace Callout
287 } // namespace Common
288 } // namespace openbmc_project
289 } // namespace xyz
290 } // namespace sdbusplus
291 
292 namespace sdbusplus
293 {
294 namespace xyz
295 {
296 namespace openbmc_project
297 {
298 namespace Power
299 {
300 namespace Fault
301 {
302 namespace Error
303 {
304     struct PowerSequencerVoltageFault;
305 } // namespace Error
306 } // namespace Fault
307 } // namespace Power
308 } // namespace openbmc_project
309 } // namespace xyz
310 } // namespace sdbusplus
311 
312 namespace sdbusplus
313 {
314 namespace xyz
315 {
316 namespace openbmc_project
317 {
318 namespace Power
319 {
320 namespace Fault
321 {
322 namespace Error
323 {
324     struct Shutdown;
325 } // namespace Error
326 } // namespace Fault
327 } // namespace Power
328 } // namespace openbmc_project
329 } // namespace xyz
330 } // namespace sdbusplus
331 
332 
333 namespace phosphor
334 {
335 
336 namespace logging
337 {
338 
339 namespace xyz
340 {
341 namespace openbmc_project
342 {
343 namespace Common
344 {
345 namespace Callout
346 {
347 namespace _Device
348 {
349 
350 struct CALLOUT_ERRNO
351 {
352     static constexpr auto str = "CALLOUT_ERRNO=%d";
353     static constexpr auto str_short = "CALLOUT_ERRNO";
354     using type = std::tuple<std::decay_t<decltype(str)>,int32_t>;
355     explicit constexpr CALLOUT_ERRNO(int32_t a) : _entry(entry(str, a)) {};
356     type _entry;
357 };
358 struct CALLOUT_DEVICE_PATH
359 {
360     static constexpr auto str = "CALLOUT_DEVICE_PATH=%s";
361     static constexpr auto str_short = "CALLOUT_DEVICE_PATH";
362     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
363     explicit constexpr CALLOUT_DEVICE_PATH(const char* a) : _entry(entry(str, a)) {};
364     type _entry;
365 };
366 
367 }  // namespace _Device
368 
369 struct Device
370 {
371     static constexpr auto L = level::ERR;
372     using CALLOUT_ERRNO = _Device::CALLOUT_ERRNO;
373     using CALLOUT_DEVICE_PATH = _Device::CALLOUT_DEVICE_PATH;
374     using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
375 
376 };
377 
378 } // namespace Callout
379 } // namespace Common
380 } // namespace openbmc_project
381 } // namespace xyz
382 
383 
384 namespace details
385 {
386 
387 template <>
388 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::Device>
389 {
390     using type = xyz::openbmc_project::Common::Callout::Device;
391 };
392 
393 }
394 
395 namespace xyz
396 {
397 namespace openbmc_project
398 {
399 namespace Common
400 {
401 namespace Callout
402 {
403 namespace _GPIO
404 {
405 
406 struct CALLOUT_GPIO_NUM
407 {
408     static constexpr auto str = "CALLOUT_GPIO_NUM=%u";
409     static constexpr auto str_short = "CALLOUT_GPIO_NUM";
410     using type = std::tuple<std::decay_t<decltype(str)>,uint32_t>;
411     explicit constexpr CALLOUT_GPIO_NUM(uint32_t a) : _entry(entry(str, a)) {};
412     type _entry;
413 };
414 
415 }  // namespace _GPIO
416 
417 struct GPIO
418 {
419     static constexpr auto L = level::ERR;
420     using CALLOUT_GPIO_NUM = _GPIO::CALLOUT_GPIO_NUM;
421     using CALLOUT_ERRNO = xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
422     using CALLOUT_DEVICE_PATH = xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
423     using metadata_types = std::tuple<CALLOUT_GPIO_NUM, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
424 
425 };
426 
427 } // namespace Callout
428 } // namespace Common
429 } // namespace openbmc_project
430 } // namespace xyz
431 
432 
433 namespace details
434 {
435 
436 template <>
437 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::GPIO>
438 {
439     using type = xyz::openbmc_project::Common::Callout::GPIO;
440 };
441 
442 }
443 
444 namespace xyz
445 {
446 namespace openbmc_project
447 {
448 namespace Common
449 {
450 namespace Callout
451 {
452 namespace _IIC
453 {
454 
455 struct CALLOUT_IIC_BUS
456 {
457     static constexpr auto str = "CALLOUT_IIC_BUS=%s";
458     static constexpr auto str_short = "CALLOUT_IIC_BUS";
459     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
460     explicit constexpr CALLOUT_IIC_BUS(const char* a) : _entry(entry(str, a)) {};
461     type _entry;
462 };
463 struct CALLOUT_IIC_ADDR
464 {
465     static constexpr auto str = "CALLOUT_IIC_ADDR=0x%hx";
466     static constexpr auto str_short = "CALLOUT_IIC_ADDR";
467     using type = std::tuple<std::decay_t<decltype(str)>,uint16_t>;
468     explicit constexpr CALLOUT_IIC_ADDR(uint16_t a) : _entry(entry(str, a)) {};
469     type _entry;
470 };
471 
472 }  // namespace _IIC
473 
474 struct IIC
475 {
476     static constexpr auto L = level::ERR;
477     using CALLOUT_IIC_BUS = _IIC::CALLOUT_IIC_BUS;
478     using CALLOUT_IIC_ADDR = _IIC::CALLOUT_IIC_ADDR;
479     using CALLOUT_ERRNO = xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
480     using CALLOUT_DEVICE_PATH = xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
481     using metadata_types = std::tuple<CALLOUT_IIC_BUS, CALLOUT_IIC_ADDR, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
482 
483 };
484 
485 } // namespace Callout
486 } // namespace Common
487 } // namespace openbmc_project
488 } // namespace xyz
489 
490 
491 namespace details
492 {
493 
494 template <>
495 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::IIC>
496 {
497     using type = xyz::openbmc_project::Common::Callout::IIC;
498 };
499 
500 }
501 
502 namespace xyz
503 {
504 namespace openbmc_project
505 {
506 namespace Common
507 {
508 namespace Callout
509 {
510 namespace _Inventory
511 {
512 
513 struct CALLOUT_INVENTORY_PATH
514 {
515     static constexpr auto str = "CALLOUT_INVENTORY_PATH=%s";
516     static constexpr auto str_short = "CALLOUT_INVENTORY_PATH";
517     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
518     explicit constexpr CALLOUT_INVENTORY_PATH(const char* a) : _entry(entry(str, a)) {};
519     type _entry;
520 };
521 
522 }  // namespace _Inventory
523 
524 struct Inventory
525 {
526     static constexpr auto L = level::ERR;
527     using CALLOUT_INVENTORY_PATH = _Inventory::CALLOUT_INVENTORY_PATH;
528     using metadata_types = std::tuple<CALLOUT_INVENTORY_PATH>;
529 
530 };
531 
532 } // namespace Callout
533 } // namespace Common
534 } // namespace openbmc_project
535 } // namespace xyz
536 
537 
538 namespace details
539 {
540 
541 template <>
542 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::Inventory>
543 {
544     using type = xyz::openbmc_project::Common::Callout::Inventory;
545 };
546 
547 }
548 
549 namespace xyz
550 {
551 namespace openbmc_project
552 {
553 namespace Common
554 {
555 namespace Callout
556 {
557 namespace _IPMISensor
558 {
559 
560 struct CALLOUT_IPMI_SENSOR_NUM
561 {
562     static constexpr auto str = "CALLOUT_IPMI_SENSOR_NUM=%u";
563     static constexpr auto str_short = "CALLOUT_IPMI_SENSOR_NUM";
564     using type = std::tuple<std::decay_t<decltype(str)>,uint32_t>;
565     explicit constexpr CALLOUT_IPMI_SENSOR_NUM(uint32_t a) : _entry(entry(str, a)) {};
566     type _entry;
567 };
568 
569 }  // namespace _IPMISensor
570 
571 struct IPMISensor
572 {
573     static constexpr auto L = level::ERR;
574     using CALLOUT_IPMI_SENSOR_NUM = _IPMISensor::CALLOUT_IPMI_SENSOR_NUM;
575     using metadata_types = std::tuple<CALLOUT_IPMI_SENSOR_NUM>;
576 
577 };
578 
579 } // namespace Callout
580 } // namespace Common
581 } // namespace openbmc_project
582 } // namespace xyz
583 
584 
585 namespace details
586 {
587 
588 template <>
589 struct map_exception_type<sdbusplus::xyz::openbmc_project::Common::Callout::Error::IPMISensor>
590 {
591     using type = xyz::openbmc_project::Common::Callout::IPMISensor;
592 };
593 
594 }
595 
596 namespace xyz
597 {
598 namespace openbmc_project
599 {
600 namespace Power
601 {
602 namespace Fault
603 {
604 namespace _PowerSupplyUnderVoltageFault
605 {
606 
607 struct RAW_STATUS
608 {
609     static constexpr auto str = "RAW_STATUS=%s";
610     static constexpr auto str_short = "RAW_STATUS";
611     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
612     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
613     type _entry;
614 };
615 
616 }  // namespace _PowerSupplyUnderVoltageFault
617 
618 struct PowerSupplyUnderVoltageFault
619 {
620     static constexpr auto L = level::ERR;
621     using RAW_STATUS = _PowerSupplyUnderVoltageFault::RAW_STATUS;
622     using metadata_types = std::tuple<RAW_STATUS>;
623 
624 };
625 
626 } // namespace Fault
627 } // namespace Power
628 } // namespace openbmc_project
629 } // namespace xyz
630 
631 
632 namespace details
633 {
634 
635 template <>
636 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSupplyUnderVoltageFault>
637 {
638     using type = xyz::openbmc_project::Power::Fault::PowerSupplyUnderVoltageFault;
639 };
640 
641 }
642 
643 namespace xyz
644 {
645 namespace openbmc_project
646 {
647 namespace Power
648 {
649 namespace Fault
650 {
651 namespace _PowerSupplyInputFault
652 {
653 
654 struct RAW_STATUS
655 {
656     static constexpr auto str = "RAW_STATUS=%s";
657     static constexpr auto str_short = "RAW_STATUS";
658     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
659     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
660     type _entry;
661 };
662 
663 }  // namespace _PowerSupplyInputFault
664 
665 struct PowerSupplyInputFault
666 {
667     static constexpr auto L = level::ERR;
668     using RAW_STATUS = _PowerSupplyInputFault::RAW_STATUS;
669     using metadata_types = std::tuple<RAW_STATUS>;
670 
671 };
672 
673 } // namespace Fault
674 } // namespace Power
675 } // namespace openbmc_project
676 } // namespace xyz
677 
678 
679 namespace details
680 {
681 
682 template <>
683 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSupplyInputFault>
684 {
685     using type = xyz::openbmc_project::Power::Fault::PowerSupplyInputFault;
686 };
687 
688 }
689 
690 namespace xyz
691 {
692 namespace openbmc_project
693 {
694 namespace Power
695 {
696 namespace Fault
697 {
698 namespace _PowerSupplyShouldBeOn
699 {
700 
701 struct RAW_STATUS
702 {
703     static constexpr auto str = "RAW_STATUS=%s";
704     static constexpr auto str_short = "RAW_STATUS";
705     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
706     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
707     type _entry;
708 };
709 
710 }  // namespace _PowerSupplyShouldBeOn
711 
712 struct PowerSupplyShouldBeOn
713 {
714     static constexpr auto L = level::ERR;
715     using RAW_STATUS = _PowerSupplyShouldBeOn::RAW_STATUS;
716     using CALLOUT_INVENTORY_PATH = xyz::openbmc_project::Common::Callout::Inventory::CALLOUT_INVENTORY_PATH;
717     using metadata_types = std::tuple<RAW_STATUS, CALLOUT_INVENTORY_PATH>;
718 
719 };
720 
721 } // namespace Fault
722 } // namespace Power
723 } // namespace openbmc_project
724 } // namespace xyz
725 
726 
727 namespace details
728 {
729 
730 template <>
731 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSupplyShouldBeOn>
732 {
733     using type = xyz::openbmc_project::Power::Fault::PowerSupplyShouldBeOn;
734 };
735 
736 }
737 
738 namespace xyz
739 {
740 namespace openbmc_project
741 {
742 namespace Power
743 {
744 namespace Fault
745 {
746 namespace _PowerSupplyOutputOvercurrent
747 {
748 
749 struct RAW_STATUS
750 {
751     static constexpr auto str = "RAW_STATUS=%s";
752     static constexpr auto str_short = "RAW_STATUS";
753     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
754     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
755     type _entry;
756 };
757 
758 }  // namespace _PowerSupplyOutputOvercurrent
759 
760 struct PowerSupplyOutputOvercurrent
761 {
762     static constexpr auto L = level::ERR;
763     using RAW_STATUS = _PowerSupplyOutputOvercurrent::RAW_STATUS;
764     using CALLOUT_INVENTORY_PATH = xyz::openbmc_project::Common::Callout::Inventory::CALLOUT_INVENTORY_PATH;
765     using metadata_types = std::tuple<RAW_STATUS, CALLOUT_INVENTORY_PATH>;
766 
767 };
768 
769 } // namespace Fault
770 } // namespace Power
771 } // namespace openbmc_project
772 } // namespace xyz
773 
774 
775 namespace details
776 {
777 
778 template <>
779 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSupplyOutputOvercurrent>
780 {
781     using type = xyz::openbmc_project::Power::Fault::PowerSupplyOutputOvercurrent;
782 };
783 
784 }
785 
786 namespace xyz
787 {
788 namespace openbmc_project
789 {
790 namespace Power
791 {
792 namespace Fault
793 {
794 namespace _Shutdown
795 {
796 
797 
798 }  // namespace _Shutdown
799 
800 struct Shutdown
801 {
802     static constexpr auto L = level::ERR;
803     using metadata_types = std::tuple<>;
804 
805 };
806 
807 } // namespace Fault
808 } // namespace Power
809 } // namespace openbmc_project
810 } // namespace xyz
811 
812 
813 namespace details
814 {
815 
816 template <>
817 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::Shutdown>
818 {
819     using type = xyz::openbmc_project::Power::Fault::Shutdown;
820 };
821 
822 }
823 
824 namespace xyz
825 {
826 namespace openbmc_project
827 {
828 namespace Power
829 {
830 namespace Fault
831 {
832 namespace _PowerOnFailure
833 {
834 
835 
836 }  // namespace _PowerOnFailure
837 
838 struct PowerOnFailure
839 {
840     static constexpr auto L = level::ERR;
841     using metadata_types = std::tuple<>;
842 
843 };
844 
845 } // namespace Fault
846 } // namespace Power
847 } // namespace openbmc_project
848 } // namespace xyz
849 
850 
851 namespace details
852 {
853 
854 template <>
855 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerOnFailure>
856 {
857     using type = xyz::openbmc_project::Power::Fault::PowerOnFailure;
858 };
859 
860 }
861 
862 namespace xyz
863 {
864 namespace openbmc_project
865 {
866 namespace Power
867 {
868 namespace Fault
869 {
870 namespace _PowerSequencerVoltageFault
871 {
872 
873 struct RAIL
874 {
875     static constexpr auto str = "RAIL=%d";
876     static constexpr auto str_short = "RAIL";
877     using type = std::tuple<std::decay_t<decltype(str)>,uint16_t>;
878     explicit constexpr RAIL(uint16_t a) : _entry(entry(str, a)) {};
879     type _entry;
880 };
881 struct RAIL_NAME
882 {
883     static constexpr auto str = "RAIL_NAME=%s";
884     static constexpr auto str_short = "RAIL_NAME";
885     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
886     explicit constexpr RAIL_NAME(const char* a) : _entry(entry(str, a)) {};
887     type _entry;
888 };
889 struct RAW_STATUS
890 {
891     static constexpr auto str = "RAW_STATUS=%s";
892     static constexpr auto str_short = "RAW_STATUS";
893     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
894     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
895     type _entry;
896 };
897 
898 }  // namespace _PowerSequencerVoltageFault
899 
900 struct PowerSequencerVoltageFault
901 {
902     static constexpr auto L = level::ERR;
903     using RAIL = _PowerSequencerVoltageFault::RAIL;
904     using RAIL_NAME = _PowerSequencerVoltageFault::RAIL_NAME;
905     using RAW_STATUS = _PowerSequencerVoltageFault::RAW_STATUS;
906     using metadata_types = std::tuple<RAIL, RAIL_NAME, RAW_STATUS>;
907 
908 };
909 
910 } // namespace Fault
911 } // namespace Power
912 } // namespace openbmc_project
913 } // namespace xyz
914 
915 
916 namespace details
917 {
918 
919 template <>
920 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSequencerVoltageFault>
921 {
922     using type = xyz::openbmc_project::Power::Fault::PowerSequencerVoltageFault;
923 };
924 
925 }
926 
927 namespace xyz
928 {
929 namespace openbmc_project
930 {
931 namespace Power
932 {
933 namespace Fault
934 {
935 namespace _PowerSequencerPGOODFault
936 {
937 
938 struct INPUT_NUM
939 {
940     static constexpr auto str = "INPUT_NUM=%d";
941     static constexpr auto str_short = "INPUT_NUM";
942     using type = std::tuple<std::decay_t<decltype(str)>,uint16_t>;
943     explicit constexpr INPUT_NUM(uint16_t a) : _entry(entry(str, a)) {};
944     type _entry;
945 };
946 struct INPUT_NAME
947 {
948     static constexpr auto str = "INPUT_NAME=%s";
949     static constexpr auto str_short = "INPUT_NAME";
950     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
951     explicit constexpr INPUT_NAME(const char* a) : _entry(entry(str, a)) {};
952     type _entry;
953 };
954 struct RAW_STATUS
955 {
956     static constexpr auto str = "RAW_STATUS=%s";
957     static constexpr auto str_short = "RAW_STATUS";
958     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
959     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
960     type _entry;
961 };
962 
963 }  // namespace _PowerSequencerPGOODFault
964 
965 struct PowerSequencerPGOODFault
966 {
967     static constexpr auto L = level::ERR;
968     using INPUT_NUM = _PowerSequencerPGOODFault::INPUT_NUM;
969     using INPUT_NAME = _PowerSequencerPGOODFault::INPUT_NAME;
970     using RAW_STATUS = _PowerSequencerPGOODFault::RAW_STATUS;
971     using metadata_types = std::tuple<INPUT_NUM, INPUT_NAME, RAW_STATUS>;
972 
973 };
974 
975 } // namespace Fault
976 } // namespace Power
977 } // namespace openbmc_project
978 } // namespace xyz
979 
980 
981 namespace details
982 {
983 
984 template <>
985 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSequencerPGOODFault>
986 {
987     using type = xyz::openbmc_project::Power::Fault::PowerSequencerPGOODFault;
988 };
989 
990 }
991 
992 namespace xyz
993 {
994 namespace openbmc_project
995 {
996 namespace Power
997 {
998 namespace Fault
999 {
1000 namespace _PowerSequencerFault
1001 {
1002 
1003 struct RAW_STATUS
1004 {
1005     static constexpr auto str = "RAW_STATUS=%s";
1006     static constexpr auto str_short = "RAW_STATUS";
1007     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
1008     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
1009     type _entry;
1010 };
1011 
1012 }  // namespace _PowerSequencerFault
1013 
1014 struct PowerSequencerFault
1015 {
1016     static constexpr auto L = level::ERR;
1017     using RAW_STATUS = _PowerSequencerFault::RAW_STATUS;
1018     using metadata_types = std::tuple<RAW_STATUS>;
1019 
1020 };
1021 
1022 } // namespace Fault
1023 } // namespace Power
1024 } // namespace openbmc_project
1025 } // namespace xyz
1026 
1027 
1028 namespace details
1029 {
1030 
1031 template <>
1032 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::PowerSequencerFault>
1033 {
1034     using type = xyz::openbmc_project::Power::Fault::PowerSequencerFault;
1035 };
1036 
1037 }
1038 
1039 namespace xyz
1040 {
1041 namespace openbmc_project
1042 {
1043 namespace Power
1044 {
1045 namespace Fault
1046 {
1047 namespace _GPUPowerFault
1048 {
1049 
1050 struct RAW_STATUS
1051 {
1052     static constexpr auto str = "RAW_STATUS=%s";
1053     static constexpr auto str_short = "RAW_STATUS";
1054     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
1055     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
1056     type _entry;
1057 };
1058 struct GPU
1059 {
1060     static constexpr auto str = "GPU=%s";
1061     static constexpr auto str_short = "GPU";
1062     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
1063     explicit constexpr GPU(const char* a) : _entry(entry(str, a)) {};
1064     type _entry;
1065 };
1066 
1067 }  // namespace _GPUPowerFault
1068 
1069 struct GPUPowerFault
1070 {
1071     static constexpr auto L = level::ERR;
1072     using RAW_STATUS = _GPUPowerFault::RAW_STATUS;
1073     using GPU = _GPUPowerFault::GPU;
1074     using metadata_types = std::tuple<RAW_STATUS, GPU>;
1075 
1076 };
1077 
1078 } // namespace Fault
1079 } // namespace Power
1080 } // namespace openbmc_project
1081 } // namespace xyz
1082 
1083 
1084 namespace details
1085 {
1086 
1087 template <>
1088 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::GPUPowerFault>
1089 {
1090     using type = xyz::openbmc_project::Power::Fault::GPUPowerFault;
1091 };
1092 
1093 }
1094 
1095 namespace xyz
1096 {
1097 namespace openbmc_project
1098 {
1099 namespace Power
1100 {
1101 namespace Fault
1102 {
1103 namespace _GPUOverTemp
1104 {
1105 
1106 struct RAW_STATUS
1107 {
1108     static constexpr auto str = "RAW_STATUS=%s";
1109     static constexpr auto str_short = "RAW_STATUS";
1110     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
1111     explicit constexpr RAW_STATUS(const char* a) : _entry(entry(str, a)) {};
1112     type _entry;
1113 };
1114 struct GPU
1115 {
1116     static constexpr auto str = "GPU=%s";
1117     static constexpr auto str_short = "GPU";
1118     using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
1119     explicit constexpr GPU(const char* a) : _entry(entry(str, a)) {};
1120     type _entry;
1121 };
1122 
1123 }  // namespace _GPUOverTemp
1124 
1125 struct GPUOverTemp
1126 {
1127     static constexpr auto L = level::ERR;
1128     using RAW_STATUS = _GPUOverTemp::RAW_STATUS;
1129     using GPU = _GPUOverTemp::GPU;
1130     using metadata_types = std::tuple<RAW_STATUS, GPU>;
1131 
1132 };
1133 
1134 } // namespace Fault
1135 } // namespace Power
1136 } // namespace openbmc_project
1137 } // namespace xyz
1138 
1139 
1140 namespace details
1141 {
1142 
1143 template <>
1144 struct map_exception_type<sdbusplus::xyz::openbmc_project::Power::Fault::Error::GPUOverTemp>
1145 {
1146     using type = xyz::openbmc_project::Power::Fault::GPUOverTemp;
1147 };
1148 
1149 }
1150 
1151 
1152 } // namespace logging
1153 
1154 } // namespace phosphor
1155