blob: 7a439543fcc290659f1103a08b58800f0c46050f [file] [log] [blame]
Tom Joseph448e74e2017-07-24 23:08:56 +05301// This file was autogenerated. Do not edit!
2// See elog-gen.py for more details
3#pragma once
4
Patrick Venture0b02be92018-08-31 11:55:55 -07005#include <phosphor-logging/elog.hpp>
6#include <phosphor-logging/log.hpp>
7#include <sdbusplus/exception.hpp>
Tom Joseph448e74e2017-07-24 23:08:56 +05308#include <string>
9#include <tuple>
10#include <type_traits>
Tom Joseph448e74e2017-07-24 23:08:56 +053011
12namespace sdbusplus
13{
Patrick Williamsdf329092021-09-08 16:05:08 -050014namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053015{
Patrick Williamsdf329092021-09-08 16:05:08 -050016namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +053017{
Patrick Williamsdf329092021-09-08 16:05:08 -050018namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +053019{
20namespace Error
21{
Patrick Williamsdf329092021-09-08 16:05:08 -050022struct BlankSystemVPD;
Tom Joseph448e74e2017-07-24 23:08:56 +053023} // namespace Error
Patrick Williamsdf329092021-09-08 16:05:08 -050024} // namespace VPD
25} // namespace ibm
26} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053027} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +053028namespace sdbusplus
29{
Patrick Williamsdf329092021-09-08 16:05:08 -050030namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053031{
Patrick Williamsdf329092021-09-08 16:05:08 -050032namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +053033{
Patrick Williamsdf329092021-09-08 16:05:08 -050034namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +053035{
Tom Joseph448e74e2017-07-24 23:08:56 +053036namespace Error
37{
Patrick Williamsdf329092021-09-08 16:05:08 -050038struct DbusFailure;
Tom Joseph448e74e2017-07-24 23:08:56 +053039} // namespace Error
Patrick Williamsdf329092021-09-08 16:05:08 -050040} // namespace VPD
41} // namespace ibm
42} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053043} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +053044namespace sdbusplus
45{
Patrick Williamsdf329092021-09-08 16:05:08 -050046namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053047{
Patrick Williamsdf329092021-09-08 16:05:08 -050048namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +053049{
Patrick Williamsdf329092021-09-08 16:05:08 -050050namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +053051{
52namespace Error
53{
Patrick Williamsdf329092021-09-08 16:05:08 -050054struct EccCheckFailed;
Tom Joseph448e74e2017-07-24 23:08:56 +053055} // namespace Error
Patrick Williamsdf329092021-09-08 16:05:08 -050056} // namespace VPD
57} // namespace ibm
58} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053059} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +053060namespace sdbusplus
61{
Patrick Williamsdf329092021-09-08 16:05:08 -050062namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053063{
Patrick Williamsdf329092021-09-08 16:05:08 -050064namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +053065{
Patrick Williamsdf329092021-09-08 16:05:08 -050066namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +053067{
68namespace Error
69{
Patrick Williamsdf329092021-09-08 16:05:08 -050070struct InvalidEepromPath;
Tom Joseph448e74e2017-07-24 23:08:56 +053071} // namespace Error
Patrick Williamsdf329092021-09-08 16:05:08 -050072} // namespace VPD
73} // namespace ibm
74} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053075} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +053076namespace sdbusplus
77{
Patrick Williamsdf329092021-09-08 16:05:08 -050078namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053079{
Patrick Williamsdf329092021-09-08 16:05:08 -050080namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +053081{
Patrick Williamsdf329092021-09-08 16:05:08 -050082namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +053083{
84namespace Error
85{
Patrick Williamsdf329092021-09-08 16:05:08 -050086struct InvalidJson;
Tom Joseph448e74e2017-07-24 23:08:56 +053087} // namespace Error
Patrick Williamsdf329092021-09-08 16:05:08 -050088} // namespace VPD
89} // namespace ibm
90} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053091} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +053092namespace sdbusplus
93{
Patrick Williamsdf329092021-09-08 16:05:08 -050094namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +053095{
Patrick Williamsdf329092021-09-08 16:05:08 -050096namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +053097{
Patrick Williamsdf329092021-09-08 16:05:08 -050098namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +053099{
100namespace Error
101{
Patrick Williamsdf329092021-09-08 16:05:08 -0500102struct InvalidVPD;
Tom Joseph448e74e2017-07-24 23:08:56 +0530103} // namespace Error
Patrick Williamsdf329092021-09-08 16:05:08 -0500104} // namespace VPD
105} // namespace ibm
106} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +0530107} // namespace sdbusplus
Patrick Williamsdf329092021-09-08 16:05:08 -0500108namespace sdbusplus
109{
110namespace com
111{
112namespace ibm
113{
114namespace VPD
115{
116namespace Error
117{
118struct KeywordNotFound;
119} // namespace Error
120} // namespace VPD
121} // namespace ibm
122} // namespace com
123} // namespace sdbusplus
124namespace sdbusplus
125{
126namespace com
127{
128namespace ibm
129{
130namespace VPD
131{
132namespace Error
133{
134struct LocationNotFound;
135} // namespace Error
136} // namespace VPD
137} // namespace ibm
138} // namespace com
139} // namespace sdbusplus
140namespace sdbusplus
141{
142namespace com
143{
144namespace ibm
145{
146namespace VPD
147{
148namespace Error
149{
150struct NodeNotFound;
151} // namespace Error
152} // namespace VPD
153} // namespace ibm
154} // namespace com
155} // namespace sdbusplus
156namespace sdbusplus
157{
158namespace com
159{
160namespace ibm
161{
162namespace VPD
163{
164namespace Error
165{
166struct PathNotFound;
167} // namespace Error
168} // namespace VPD
169} // namespace ibm
170} // namespace com
171} // namespace sdbusplus
172namespace sdbusplus
173{
174namespace com
175{
176namespace ibm
177{
178namespace VPD
179{
180namespace Error
181{
182struct RecordNotFound;
183} // namespace Error
184} // namespace VPD
185} // namespace ibm
186} // namespace com
187} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +0530188namespace sdbusplus
189{
Tom Josephb647d5b2017-10-31 17:25:33 +0530190namespace org
191{
192namespace open_power
193{
194namespace Common
195{
196namespace Callout
197{
198namespace Error
199{
Patrick Venture0b02be92018-08-31 11:55:55 -0700200struct Procedure;
Tom Josephb647d5b2017-10-31 17:25:33 +0530201} // namespace Error
202} // namespace Callout
203} // namespace Common
204} // namespace open_power
205} // namespace org
206} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +0530207namespace sdbusplus
208{
209namespace org
210{
211namespace open_power
212{
213namespace Host
214{
215namespace Access
216{
217namespace Error
218{
Patrick Venture0b02be92018-08-31 11:55:55 -0700219struct ReadCFAM;
Tom Joseph448e74e2017-07-24 23:08:56 +0530220} // namespace Error
221} // namespace Access
222} // namespace Host
223} // namespace open_power
224} // namespace org
225} // namespace sdbusplus
Patrick Williamsdf329092021-09-08 16:05:08 -0500226namespace sdbusplus
227{
228namespace org
229{
230namespace open_power
231{
232namespace Host
233{
234namespace Access
235{
236namespace Error
237{
238struct WriteCFAM;
239} // namespace Error
240} // namespace Access
241} // namespace Host
242} // namespace open_power
243} // namespace org
244} // namespace sdbusplus
245namespace sdbusplus
246{
247namespace org
248{
249namespace open_power
250{
251namespace Host
252{
253namespace Error
254{
255struct Event;
256} // namespace Error
257} // namespace Host
258} // namespace open_power
259} // namespace org
260} // namespace sdbusplus
Tom Josephb647d5b2017-10-31 17:25:33 +0530261namespace sdbusplus
262{
263namespace org
264{
265namespace open_power
266{
267namespace Host
268{
269namespace Error
270{
Patrick Venture0b02be92018-08-31 11:55:55 -0700271struct MaintenanceProcedure;
Tom Josephb647d5b2017-10-31 17:25:33 +0530272} // namespace Error
273} // namespace Host
274} // namespace open_power
275} // namespace org
276} // namespace sdbusplus
Patrick Williamsdf329092021-09-08 16:05:08 -0500277namespace sdbusplus
278{
279namespace org
280{
281namespace open_power
282{
283namespace Proc
284{
285namespace FSI
286{
287namespace Error
288{
289struct MasterDetectionFailure;
290} // namespace Error
291} // namespace FSI
292} // namespace Proc
293} // namespace open_power
294} // namespace org
295} // namespace sdbusplus
296namespace sdbusplus
297{
298namespace org
299{
300namespace open_power
301{
302namespace Proc
303{
304namespace FSI
305{
306namespace Error
307{
308struct SlaveDetectionFailure;
309} // namespace Error
310} // namespace FSI
311} // namespace Proc
312} // namespace open_power
313} // namespace org
314} // namespace sdbusplus
315namespace sdbusplus
316{
317namespace xyz
318{
319namespace openbmc_project
320{
321namespace BIOSConfig
322{
323namespace Common
324{
325namespace Error
326{
327struct AttributeNotFound;
328} // namespace Error
329} // namespace Common
330} // namespace BIOSConfig
331} // namespace openbmc_project
332} // namespace xyz
333} // namespace sdbusplus
334namespace sdbusplus
335{
336namespace xyz
337{
338namespace openbmc_project
339{
340namespace BIOSConfig
341{
342namespace Common
343{
344namespace Error
345{
346struct AttributeReadOnly;
347} // namespace Error
348} // namespace Common
349} // namespace BIOSConfig
350} // namespace openbmc_project
351} // namespace xyz
352} // namespace sdbusplus
353namespace sdbusplus
354{
355namespace xyz
356{
357namespace openbmc_project
358{
359namespace BIOSConfig
360{
361namespace Common
362{
363namespace Error
364{
365struct InvalidCurrentPassword;
366} // namespace Error
367} // namespace Common
368} // namespace BIOSConfig
369} // namespace openbmc_project
370} // namespace xyz
371} // namespace sdbusplus
372namespace sdbusplus
373{
374namespace xyz
375{
376namespace openbmc_project
377{
378namespace BIOSConfig
379{
380namespace Common
381{
382namespace Error
383{
384struct PasswordNotSettable;
385} // namespace Error
386} // namespace Common
387} // namespace BIOSConfig
388} // namespace openbmc_project
389} // namespace xyz
390} // namespace sdbusplus
391namespace sdbusplus
392{
393namespace xyz
394{
395namespace openbmc_project
396{
397namespace Certs
398{
399namespace Error
400{
401struct InvalidCertificate;
402} // namespace Error
403} // namespace Certs
404} // namespace openbmc_project
405} // namespace xyz
406} // namespace sdbusplus
407namespace sdbusplus
408{
409namespace xyz
410{
411namespace openbmc_project
412{
413namespace Chassis
414{
415namespace Common
416{
417namespace Error
418{
419struct IOError;
420} // namespace Error
421} // namespace Common
422} // namespace Chassis
423} // namespace openbmc_project
424} // namespace xyz
425} // namespace sdbusplus
426namespace sdbusplus
427{
428namespace xyz
429{
430namespace openbmc_project
431{
432namespace Chassis
433{
434namespace Common
435{
436namespace Error
437{
438struct UnsupportedCommand;
439} // namespace Error
440} // namespace Common
441} // namespace Chassis
442} // namespace openbmc_project
443} // namespace xyz
444} // namespace sdbusplus
445namespace sdbusplus
446{
447namespace xyz
448{
449namespace openbmc_project
450{
451namespace Common
452{
453namespace Callout
454{
455namespace Error
456{
457struct Device;
458} // namespace Error
459} // namespace Callout
460} // namespace Common
461} // namespace openbmc_project
462} // namespace xyz
463} // namespace sdbusplus
464namespace sdbusplus
465{
466namespace xyz
467{
468namespace openbmc_project
469{
470namespace Common
471{
472namespace Callout
473{
474namespace Error
475{
476struct GPIO;
477} // namespace Error
478} // namespace Callout
479} // namespace Common
480} // namespace openbmc_project
481} // namespace xyz
482} // namespace sdbusplus
483namespace sdbusplus
484{
485namespace xyz
486{
487namespace openbmc_project
488{
489namespace Common
490{
491namespace Callout
492{
493namespace Error
494{
495struct IIC;
496} // namespace Error
497} // namespace Callout
498} // namespace Common
499} // namespace openbmc_project
500} // namespace xyz
501} // namespace sdbusplus
502namespace sdbusplus
503{
504namespace xyz
505{
506namespace openbmc_project
507{
508namespace Common
509{
510namespace Callout
511{
512namespace Error
513{
514struct IPMISensor;
515} // namespace Error
516} // namespace Callout
517} // namespace Common
518} // namespace openbmc_project
519} // namespace xyz
520} // namespace sdbusplus
521namespace sdbusplus
522{
523namespace xyz
524{
525namespace openbmc_project
526{
527namespace Common
528{
529namespace Callout
530{
531namespace Error
532{
533struct Inventory;
534} // namespace Error
535} // namespace Callout
536} // namespace Common
537} // namespace openbmc_project
538} // namespace xyz
539} // namespace sdbusplus
540namespace sdbusplus
541{
542namespace xyz
543{
544namespace openbmc_project
545{
546namespace Common
547{
548namespace Device
549{
550namespace Error
551{
552struct ReadFailure;
553} // namespace Error
554} // namespace Device
555} // namespace Common
556} // namespace openbmc_project
557} // namespace xyz
558} // namespace sdbusplus
559namespace sdbusplus
560{
561namespace xyz
562{
563namespace openbmc_project
564{
565namespace Common
566{
567namespace Device
568{
569namespace Error
570{
571struct WriteFailure;
572} // namespace Error
573} // namespace Device
574} // namespace Common
575} // namespace openbmc_project
576} // namespace xyz
577} // namespace sdbusplus
578namespace sdbusplus
579{
580namespace xyz
581{
582namespace openbmc_project
583{
584namespace Common
585{
586namespace Error
587{
588struct InsufficientPermission;
589} // namespace Error
590} // namespace Common
591} // namespace openbmc_project
592} // namespace xyz
593} // namespace sdbusplus
594namespace sdbusplus
595{
596namespace xyz
597{
598namespace openbmc_project
599{
600namespace Common
601{
602namespace Error
603{
604struct InternalFailure;
605} // namespace Error
606} // namespace Common
607} // namespace openbmc_project
608} // namespace xyz
609} // namespace sdbusplus
610namespace sdbusplus
611{
612namespace xyz
613{
614namespace openbmc_project
615{
616namespace Common
617{
618namespace Error
619{
620struct InvalidArgument;
621} // namespace Error
622} // namespace Common
623} // namespace openbmc_project
624} // namespace xyz
625} // namespace sdbusplus
626namespace sdbusplus
627{
628namespace xyz
629{
630namespace openbmc_project
631{
632namespace Common
633{
634namespace Error
635{
636struct NoCACertificate;
637} // namespace Error
638} // namespace Common
639} // namespace openbmc_project
640} // namespace xyz
641} // namespace sdbusplus
642namespace sdbusplus
643{
644namespace xyz
645{
646namespace openbmc_project
647{
648namespace Common
649{
650namespace Error
651{
652struct NotAllowed;
653} // namespace Error
654} // namespace Common
655} // namespace openbmc_project
656} // namespace xyz
657} // namespace sdbusplus
658namespace sdbusplus
659{
660namespace xyz
661{
662namespace openbmc_project
663{
664namespace Common
665{
666namespace Error
667{
668struct ResourceNotFound;
669} // namespace Error
670} // namespace Common
671} // namespace openbmc_project
672} // namespace xyz
673} // namespace sdbusplus
674namespace sdbusplus
675{
676namespace xyz
677{
678namespace openbmc_project
679{
680namespace Common
681{
682namespace Error
683{
684struct Timeout;
685} // namespace Error
686} // namespace Common
687} // namespace openbmc_project
688} // namespace xyz
689} // namespace sdbusplus
690namespace sdbusplus
691{
692namespace xyz
693{
694namespace openbmc_project
695{
696namespace Common
697{
698namespace Error
699{
700struct TooManyResources;
701} // namespace Error
702} // namespace Common
703} // namespace openbmc_project
704} // namespace xyz
705} // namespace sdbusplus
706namespace sdbusplus
707{
708namespace xyz
709{
710namespace openbmc_project
711{
712namespace Common
713{
714namespace Error
715{
716struct Unavailable;
717} // namespace Error
718} // namespace Common
719} // namespace openbmc_project
720} // namespace xyz
721} // namespace sdbusplus
722namespace sdbusplus
723{
724namespace xyz
725{
726namespace openbmc_project
727{
728namespace Common
729{
730namespace Error
731{
732struct UnsupportedRequest;
733} // namespace Error
734} // namespace Common
735} // namespace openbmc_project
736} // namespace xyz
737} // namespace sdbusplus
738namespace sdbusplus
739{
740namespace xyz
741{
742namespace openbmc_project
743{
744namespace Common
745{
746namespace File
747{
748namespace Error
749{
750struct Open;
751} // namespace Error
752} // namespace File
753} // namespace Common
754} // namespace openbmc_project
755} // namespace xyz
756} // namespace sdbusplus
757namespace sdbusplus
758{
759namespace xyz
760{
761namespace openbmc_project
762{
763namespace Common
764{
765namespace File
766{
767namespace Error
768{
769struct Read;
770} // namespace Error
771} // namespace File
772} // namespace Common
773} // namespace openbmc_project
774} // namespace xyz
775} // namespace sdbusplus
776namespace sdbusplus
777{
778namespace xyz
779{
780namespace openbmc_project
781{
782namespace Common
783{
784namespace File
785{
786namespace Error
787{
788struct Seek;
789} // namespace Error
790} // namespace File
791} // namespace Common
792} // namespace openbmc_project
793} // namespace xyz
794} // namespace sdbusplus
795namespace sdbusplus
796{
797namespace xyz
798{
799namespace openbmc_project
800{
801namespace Common
802{
803namespace File
804{
805namespace Error
806{
807struct Write;
808} // namespace Error
809} // namespace File
810} // namespace Common
811} // namespace openbmc_project
812} // namespace xyz
813} // namespace sdbusplus
814namespace sdbusplus
815{
816namespace xyz
817{
818namespace openbmc_project
819{
820namespace Control
821{
822namespace Device
823{
824namespace Error
825{
826struct WriteFailure;
827} // namespace Error
828} // namespace Device
829} // namespace Control
830} // namespace openbmc_project
831} // namespace xyz
832} // namespace sdbusplus
833namespace sdbusplus
834{
835namespace xyz
836{
837namespace openbmc_project
838{
839namespace Control
840{
841namespace Host
842{
843namespace Error
844{
845struct CommandNotSupported;
846} // namespace Error
847} // namespace Host
848} // namespace Control
849} // namespace openbmc_project
850} // namespace xyz
851} // namespace sdbusplus
852namespace sdbusplus
853{
854namespace xyz
855{
856namespace openbmc_project
857{
858namespace Dump
859{
860namespace Create
861{
862namespace Error
863{
864struct Disabled;
865} // namespace Error
866} // namespace Create
867} // namespace Dump
868} // namespace openbmc_project
869} // namespace xyz
870} // namespace sdbusplus
871namespace sdbusplus
872{
873namespace xyz
874{
875namespace openbmc_project
876{
877namespace Dump
878{
879namespace Create
880{
881namespace Error
882{
883struct QuotaExceeded;
884} // namespace Error
885} // namespace Create
886} // namespace Dump
887} // namespace openbmc_project
888} // namespace xyz
889} // namespace sdbusplus
890namespace sdbusplus
891{
892namespace xyz
893{
894namespace openbmc_project
895{
896namespace HardwareIsolation
897{
898namespace Error
899{
900struct IsolatedAlready;
901} // namespace Error
902} // namespace HardwareIsolation
903} // namespace openbmc_project
904} // namespace xyz
905} // namespace sdbusplus
906namespace sdbusplus
907{
908namespace xyz
909{
910namespace openbmc_project
911{
912namespace Inventory
913{
914namespace Error
915{
916struct Nonfunctional;
917} // namespace Error
918} // namespace Inventory
919} // namespace openbmc_project
920} // namespace xyz
921} // namespace sdbusplus
922namespace sdbusplus
923{
924namespace xyz
925{
926namespace openbmc_project
927{
928namespace Inventory
929{
930namespace Error
931{
932struct NotPresent;
933} // namespace Error
934} // namespace Inventory
935} // namespace openbmc_project
936} // namespace xyz
937} // namespace sdbusplus
938namespace sdbusplus
939{
940namespace xyz
941{
942namespace openbmc_project
943{
944namespace Logging
945{
946namespace SEL
947{
948namespace Error
949{
950struct Created;
951} // namespace Error
952} // namespace SEL
953} // namespace Logging
954} // namespace openbmc_project
955} // namespace xyz
956} // namespace sdbusplus
957namespace sdbusplus
958{
959namespace xyz
960{
961namespace openbmc_project
962{
963namespace Memory
964{
965namespace MemoryECC
966{
967namespace Error
968{
969struct ceCount;
970} // namespace Error
971} // namespace MemoryECC
972} // namespace Memory
973} // namespace openbmc_project
974} // namespace xyz
975} // namespace sdbusplus
976namespace sdbusplus
977{
978namespace xyz
979{
980namespace openbmc_project
981{
982namespace Memory
983{
984namespace MemoryECC
985{
986namespace Error
987{
988struct isLoggingLimitReached;
989} // namespace Error
990} // namespace MemoryECC
991} // namespace Memory
992} // namespace openbmc_project
993} // namespace xyz
994} // namespace sdbusplus
995namespace sdbusplus
996{
997namespace xyz
998{
999namespace openbmc_project
1000{
1001namespace Memory
1002{
1003namespace MemoryECC
1004{
1005namespace Error
1006{
1007struct ueCount;
1008} // namespace Error
1009} // namespace MemoryECC
1010} // namespace Memory
1011} // namespace openbmc_project
1012} // namespace xyz
1013} // namespace sdbusplus
1014namespace sdbusplus
1015{
1016namespace xyz
1017{
1018namespace openbmc_project
1019{
1020namespace Nvme
1021{
1022namespace Status
1023{
1024namespace Error
1025{
1026struct BackupDeviceFault;
1027} // namespace Error
1028} // namespace Status
1029} // namespace Nvme
1030} // namespace openbmc_project
1031} // namespace xyz
1032} // namespace sdbusplus
1033namespace sdbusplus
1034{
1035namespace xyz
1036{
1037namespace openbmc_project
1038{
1039namespace Nvme
1040{
1041namespace Status
1042{
1043namespace Error
1044{
1045struct CapacityFault;
1046} // namespace Error
1047} // namespace Status
1048} // namespace Nvme
1049} // namespace openbmc_project
1050} // namespace xyz
1051} // namespace sdbusplus
1052namespace sdbusplus
1053{
1054namespace xyz
1055{
1056namespace openbmc_project
1057{
1058namespace Nvme
1059{
1060namespace Status
1061{
1062namespace Error
1063{
1064struct DegradesFault;
1065} // namespace Error
1066} // namespace Status
1067} // namespace Nvme
1068} // namespace openbmc_project
1069} // namespace xyz
1070} // namespace sdbusplus
1071namespace sdbusplus
1072{
1073namespace xyz
1074{
1075namespace openbmc_project
1076{
1077namespace Nvme
1078{
1079namespace Status
1080{
1081namespace Error
1082{
1083struct MediaFault;
1084} // namespace Error
1085} // namespace Status
1086} // namespace Nvme
1087} // namespace openbmc_project
1088} // namespace xyz
1089} // namespace sdbusplus
1090namespace sdbusplus
1091{
1092namespace xyz
1093{
1094namespace openbmc_project
1095{
1096namespace Nvme
1097{
1098namespace Status
1099{
1100namespace Error
1101{
1102struct TemperatureFault;
1103} // namespace Error
1104} // namespace Status
1105} // namespace Nvme
1106} // namespace openbmc_project
1107} // namespace xyz
1108} // namespace sdbusplus
1109namespace sdbusplus
1110{
1111namespace xyz
1112{
1113namespace openbmc_project
1114{
1115namespace ScheduledTime
1116{
1117namespace Error
1118{
1119struct InvalidTime;
1120} // namespace Error
1121} // namespace ScheduledTime
1122} // namespace openbmc_project
1123} // namespace xyz
1124} // namespace sdbusplus
1125namespace sdbusplus
1126{
1127namespace xyz
1128{
1129namespace openbmc_project
1130{
1131namespace Sensor
1132{
1133namespace Device
1134{
1135namespace Error
1136{
1137struct ReadFailure;
1138} // namespace Error
1139} // namespace Device
1140} // namespace Sensor
1141} // namespace openbmc_project
1142} // namespace xyz
1143} // namespace sdbusplus
1144namespace sdbusplus
1145{
1146namespace xyz
1147{
1148namespace openbmc_project
1149{
1150namespace Sensor
1151{
1152namespace Threshold
1153{
1154namespace Error
1155{
1156struct CriticalHigh;
1157} // namespace Error
1158} // namespace Threshold
1159} // namespace Sensor
1160} // namespace openbmc_project
1161} // namespace xyz
1162} // namespace sdbusplus
1163namespace sdbusplus
1164{
1165namespace xyz
1166{
1167namespace openbmc_project
1168{
1169namespace Sensor
1170{
1171namespace Threshold
1172{
1173namespace Error
1174{
1175struct CriticalLow;
1176} // namespace Error
1177} // namespace Threshold
1178} // namespace Sensor
1179} // namespace openbmc_project
1180} // namespace xyz
1181} // namespace sdbusplus
1182namespace sdbusplus
1183{
1184namespace xyz
1185{
1186namespace openbmc_project
1187{
1188namespace Smbios
1189{
1190namespace MDR_V2
1191{
1192namespace Error
1193{
1194struct InvalidId;
1195} // namespace Error
1196} // namespace MDR_V2
1197} // namespace Smbios
1198} // namespace openbmc_project
1199} // namespace xyz
1200} // namespace sdbusplus
1201namespace sdbusplus
1202{
1203namespace xyz
1204{
1205namespace openbmc_project
1206{
1207namespace Smbios
1208{
1209namespace MDR_V2
1210{
1211namespace Error
1212{
1213struct InvalidParameter;
1214} // namespace Error
1215} // namespace MDR_V2
1216} // namespace Smbios
1217} // namespace openbmc_project
1218} // namespace xyz
1219} // namespace sdbusplus
1220namespace sdbusplus
1221{
1222namespace xyz
1223{
1224namespace openbmc_project
1225{
1226namespace Smbios
1227{
1228namespace MDR_V2
1229{
1230namespace Error
1231{
1232struct UpdateInProgress;
1233} // namespace Error
1234} // namespace MDR_V2
1235} // namespace Smbios
1236} // namespace openbmc_project
1237} // namespace xyz
1238} // namespace sdbusplus
1239namespace sdbusplus
1240{
1241namespace xyz
1242{
1243namespace openbmc_project
1244{
1245namespace Software
1246{
1247namespace Version
1248{
1249namespace Error
1250{
1251struct AlreadyExists;
1252} // namespace Error
1253} // namespace Version
1254} // namespace Software
1255} // namespace openbmc_project
1256} // namespace xyz
1257} // namespace sdbusplus
1258namespace sdbusplus
1259{
1260namespace xyz
1261{
1262namespace openbmc_project
1263{
1264namespace Software
1265{
1266namespace Version
1267{
1268namespace Error
1269{
1270struct Incompatible;
1271} // namespace Error
1272} // namespace Version
1273} // namespace Software
1274} // namespace openbmc_project
1275} // namespace xyz
1276} // namespace sdbusplus
1277namespace sdbusplus
1278{
1279namespace xyz
1280{
1281namespace openbmc_project
1282{
1283namespace State
1284{
1285namespace BMC
1286{
1287namespace Error
1288{
1289struct MultiUserTargetFailure;
1290} // namespace Error
1291} // namespace BMC
1292} // namespace State
1293} // namespace openbmc_project
1294} // namespace xyz
1295} // namespace sdbusplus
1296namespace sdbusplus
1297{
1298namespace xyz
1299{
1300namespace openbmc_project
1301{
1302namespace State
1303{
1304namespace Chassis
1305{
1306namespace Error
1307{
1308struct PowerOffFailure;
1309} // namespace Error
1310} // namespace Chassis
1311} // namespace State
1312} // namespace openbmc_project
1313} // namespace xyz
1314} // namespace sdbusplus
1315namespace sdbusplus
1316{
1317namespace xyz
1318{
1319namespace openbmc_project
1320{
1321namespace State
1322{
1323namespace Chassis
1324{
1325namespace Error
1326{
1327struct PowerOnFailure;
1328} // namespace Error
1329} // namespace Chassis
1330} // namespace State
1331} // namespace openbmc_project
1332} // namespace xyz
1333} // namespace sdbusplus
1334namespace sdbusplus
1335{
1336namespace xyz
1337{
1338namespace openbmc_project
1339{
1340namespace State
1341{
1342namespace Host
1343{
1344namespace Error
1345{
1346struct HostMinStartFailure;
1347} // namespace Error
1348} // namespace Host
1349} // namespace State
1350} // namespace openbmc_project
1351} // namespace xyz
1352} // namespace sdbusplus
1353namespace sdbusplus
1354{
1355namespace xyz
1356{
1357namespace openbmc_project
1358{
1359namespace State
1360{
1361namespace Host
1362{
1363namespace Error
1364{
1365struct HostRebootFailure;
1366} // namespace Error
1367} // namespace Host
1368} // namespace State
1369} // namespace openbmc_project
1370} // namespace xyz
1371} // namespace sdbusplus
1372namespace sdbusplus
1373{
1374namespace xyz
1375{
1376namespace openbmc_project
1377{
1378namespace State
1379{
1380namespace Host
1381{
1382namespace Error
1383{
1384struct HostShutdownFailure;
1385} // namespace Error
1386} // namespace Host
1387} // namespace State
1388} // namespace openbmc_project
1389} // namespace xyz
1390} // namespace sdbusplus
1391namespace sdbusplus
1392{
1393namespace xyz
1394{
1395namespace openbmc_project
1396{
1397namespace State
1398{
1399namespace Host
1400{
1401namespace Error
1402{
1403struct HostStartFailure;
1404} // namespace Error
1405} // namespace Host
1406} // namespace State
1407} // namespace openbmc_project
1408} // namespace xyz
1409} // namespace sdbusplus
1410namespace sdbusplus
1411{
1412namespace xyz
1413{
1414namespace openbmc_project
1415{
1416namespace State
1417{
1418namespace Host
1419{
1420namespace Error
1421{
1422struct HostStopFailure;
1423} // namespace Error
1424} // namespace Host
1425} // namespace State
1426} // namespace openbmc_project
1427} // namespace xyz
1428} // namespace sdbusplus
1429namespace sdbusplus
1430{
1431namespace xyz
1432{
1433namespace openbmc_project
1434{
1435namespace State
1436{
1437namespace Host
1438{
1439namespace Error
1440{
1441struct SoftOffTimeout;
1442} // namespace Error
1443} // namespace Host
1444} // namespace State
1445} // namespace openbmc_project
1446} // namespace xyz
1447} // namespace sdbusplus
1448namespace sdbusplus
1449{
1450namespace xyz
1451{
1452namespace openbmc_project
1453{
1454namespace State
1455{
1456namespace Shutdown
1457{
1458namespace Inventory
1459{
1460namespace Error
1461{
1462struct Fan;
1463} // namespace Error
1464} // namespace Inventory
1465} // namespace Shutdown
1466} // namespace State
1467} // namespace openbmc_project
1468} // namespace xyz
1469} // namespace sdbusplus
1470namespace sdbusplus
1471{
1472namespace xyz
1473{
1474namespace openbmc_project
1475{
1476namespace State
1477{
1478namespace Shutdown
1479{
1480namespace Power
1481{
1482namespace Error
1483{
1484struct Blackout;
1485} // namespace Error
1486} // namespace Power
1487} // namespace Shutdown
1488} // namespace State
1489} // namespace openbmc_project
1490} // namespace xyz
1491} // namespace sdbusplus
1492namespace sdbusplus
1493{
1494namespace xyz
1495{
1496namespace openbmc_project
1497{
1498namespace State
1499{
1500namespace Shutdown
1501{
1502namespace Power
1503{
1504namespace Error
1505{
1506struct Fault;
1507} // namespace Error
1508} // namespace Power
1509} // namespace Shutdown
1510} // namespace State
1511} // namespace openbmc_project
1512} // namespace xyz
1513} // namespace sdbusplus
1514namespace sdbusplus
1515{
1516namespace xyz
1517{
1518namespace openbmc_project
1519{
1520namespace State
1521{
1522namespace Shutdown
1523{
1524namespace Power
1525{
1526namespace Error
1527{
1528struct Regulator;
1529} // namespace Error
1530} // namespace Power
1531} // namespace Shutdown
1532} // namespace State
1533} // namespace openbmc_project
1534} // namespace xyz
1535} // namespace sdbusplus
1536namespace sdbusplus
1537{
1538namespace xyz
1539{
1540namespace openbmc_project
1541{
1542namespace State
1543{
1544namespace Shutdown
1545{
1546namespace ThermalEvent
1547{
1548namespace Error
1549{
1550struct Ambient;
1551} // namespace Error
1552} // namespace ThermalEvent
1553} // namespace Shutdown
1554} // namespace State
1555} // namespace openbmc_project
1556} // namespace xyz
1557} // namespace sdbusplus
1558namespace sdbusplus
1559{
1560namespace xyz
1561{
1562namespace openbmc_project
1563{
1564namespace State
1565{
1566namespace Shutdown
1567{
1568namespace ThermalEvent
1569{
1570namespace Error
1571{
1572struct GPU;
1573} // namespace Error
1574} // namespace ThermalEvent
1575} // namespace Shutdown
1576} // namespace State
1577} // namespace openbmc_project
1578} // namespace xyz
1579} // namespace sdbusplus
1580namespace sdbusplus
1581{
1582namespace xyz
1583{
1584namespace openbmc_project
1585{
1586namespace State
1587{
1588namespace Shutdown
1589{
1590namespace ThermalEvent
1591{
1592namespace Error
1593{
1594struct Processor;
1595} // namespace Error
1596} // namespace ThermalEvent
1597} // namespace Shutdown
1598} // namespace State
1599} // namespace openbmc_project
1600} // namespace xyz
1601} // namespace sdbusplus
1602namespace sdbusplus
1603{
1604namespace xyz
1605{
1606namespace openbmc_project
1607{
1608namespace State
1609{
1610namespace SystemdTarget
1611{
1612namespace Error
1613{
1614struct Failure;
1615} // namespace Error
1616} // namespace SystemdTarget
1617} // namespace State
1618} // namespace openbmc_project
1619} // namespace xyz
1620} // namespace sdbusplus
1621namespace sdbusplus
1622{
1623namespace xyz
1624{
1625namespace openbmc_project
1626{
1627namespace Time
1628{
1629namespace Error
1630{
1631struct Failed;
1632} // namespace Error
1633} // namespace Time
1634} // namespace openbmc_project
1635} // namespace xyz
1636} // namespace sdbusplus
1637namespace sdbusplus
1638{
1639namespace xyz
1640{
1641namespace openbmc_project
1642{
1643namespace Time
1644{
1645namespace Error
1646{
1647struct NotAllowed;
1648} // namespace Error
1649} // namespace Time
1650} // namespace openbmc_project
1651} // namespace xyz
1652} // namespace sdbusplus
1653namespace sdbusplus
1654{
1655namespace xyz
1656{
1657namespace openbmc_project
1658{
1659namespace User
1660{
1661namespace Common
1662{
1663namespace Error
1664{
1665struct NoResource;
1666} // namespace Error
1667} // namespace Common
1668} // namespace User
1669} // namespace openbmc_project
1670} // namespace xyz
1671} // namespace sdbusplus
1672namespace sdbusplus
1673{
1674namespace xyz
1675{
1676namespace openbmc_project
1677{
1678namespace User
1679{
1680namespace Common
1681{
1682namespace Error
1683{
1684struct PrivilegeMappingExists;
1685} // namespace Error
1686} // namespace Common
1687} // namespace User
1688} // namespace openbmc_project
1689} // namespace xyz
1690} // namespace sdbusplus
1691namespace sdbusplus
1692{
1693namespace xyz
1694{
1695namespace openbmc_project
1696{
1697namespace User
1698{
1699namespace Common
1700{
1701namespace Error
1702{
1703struct UserNameDoesNotExist;
1704} // namespace Error
1705} // namespace Common
1706} // namespace User
1707} // namespace openbmc_project
1708} // namespace xyz
1709} // namespace sdbusplus
1710namespace sdbusplus
1711{
1712namespace xyz
1713{
1714namespace openbmc_project
1715{
1716namespace User
1717{
1718namespace Common
1719{
1720namespace Error
1721{
1722struct UserNameExists;
1723} // namespace Error
1724} // namespace Common
1725} // namespace User
1726} // namespace openbmc_project
1727} // namespace xyz
1728} // namespace sdbusplus
1729namespace sdbusplus
1730{
1731namespace xyz
1732{
1733namespace openbmc_project
1734{
1735namespace User
1736{
1737namespace Common
1738{
1739namespace Error
1740{
1741struct UserNameGroupFail;
1742} // namespace Error
1743} // namespace Common
1744} // namespace User
1745} // namespace openbmc_project
1746} // namespace xyz
1747} // namespace sdbusplus
1748namespace sdbusplus
1749{
1750namespace xyz
1751{
1752namespace openbmc_project
1753{
1754namespace User
1755{
1756namespace Common
1757{
1758namespace Error
1759{
1760struct UserNamePrivFail;
1761} // namespace Error
1762} // namespace Common
1763} // namespace User
1764} // namespace openbmc_project
1765} // namespace xyz
1766} // namespace sdbusplus
Tom Joseph448e74e2017-07-24 23:08:56 +05301767
1768namespace phosphor
1769{
1770
1771namespace logging
1772{
1773
Patrick Williamsdf329092021-09-08 16:05:08 -05001774namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301775{
Patrick Williamsdf329092021-09-08 16:05:08 -05001776namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +05301777{
Patrick Williamsdf329092021-09-08 16:05:08 -05001778namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +05301779{
Patrick Williamsdf329092021-09-08 16:05:08 -05001780namespace _LocationNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301781{
1782
Patrick Williamsdf329092021-09-08 16:05:08 -05001783} // namespace _LocationNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301784
Patrick Williamsdf329092021-09-08 16:05:08 -05001785struct LocationNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301786{
1787 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05001788 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05301789};
1790
Patrick Williamsdf329092021-09-08 16:05:08 -05001791} // namespace VPD
1792} // namespace ibm
1793} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301794
Tom Joseph448e74e2017-07-24 23:08:56 +05301795namespace details
1796{
1797
1798template <>
Patrick Williamsdf329092021-09-08 16:05:08 -05001799struct map_exception_type<sdbusplus::com::ibm::VPD::Error::LocationNotFound>
Tom Joseph448e74e2017-07-24 23:08:56 +05301800{
Patrick Williamsdf329092021-09-08 16:05:08 -05001801 using type = com::ibm::VPD::LocationNotFound;
Tom Joseph448e74e2017-07-24 23:08:56 +05301802};
1803
Patrick Venture0b02be92018-08-31 11:55:55 -07001804} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05301805
Patrick Williamsdf329092021-09-08 16:05:08 -05001806namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301807{
Patrick Williamsdf329092021-09-08 16:05:08 -05001808namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +05301809{
Patrick Williamsdf329092021-09-08 16:05:08 -05001810namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +05301811{
Patrick Williamsdf329092021-09-08 16:05:08 -05001812namespace _NodeNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301813{
1814
Patrick Williamsdf329092021-09-08 16:05:08 -05001815} // namespace _NodeNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301816
Patrick Williamsdf329092021-09-08 16:05:08 -05001817struct NodeNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301818{
1819 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05001820 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05301821};
1822
Patrick Williamsdf329092021-09-08 16:05:08 -05001823} // namespace VPD
1824} // namespace ibm
1825} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301826
Tom Joseph448e74e2017-07-24 23:08:56 +05301827namespace details
1828{
1829
1830template <>
Patrick Williamsdf329092021-09-08 16:05:08 -05001831struct map_exception_type<sdbusplus::com::ibm::VPD::Error::NodeNotFound>
Tom Joseph448e74e2017-07-24 23:08:56 +05301832{
Patrick Williamsdf329092021-09-08 16:05:08 -05001833 using type = com::ibm::VPD::NodeNotFound;
Tom Joseph448e74e2017-07-24 23:08:56 +05301834};
1835
Patrick Venture0b02be92018-08-31 11:55:55 -07001836} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05301837
Patrick Williamsdf329092021-09-08 16:05:08 -05001838namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301839{
Patrick Williamsdf329092021-09-08 16:05:08 -05001840namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +05301841{
Patrick Williamsdf329092021-09-08 16:05:08 -05001842namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +05301843{
Patrick Williamsdf329092021-09-08 16:05:08 -05001844namespace _PathNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301845{
1846
Patrick Williamsdf329092021-09-08 16:05:08 -05001847} // namespace _PathNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301848
Patrick Williamsdf329092021-09-08 16:05:08 -05001849struct PathNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301850{
1851 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05001852 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05301853};
1854
Patrick Williamsdf329092021-09-08 16:05:08 -05001855} // namespace VPD
1856} // namespace ibm
1857} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301858
Tom Joseph448e74e2017-07-24 23:08:56 +05301859namespace details
1860{
1861
1862template <>
Patrick Williamsdf329092021-09-08 16:05:08 -05001863struct map_exception_type<sdbusplus::com::ibm::VPD::Error::PathNotFound>
Tom Joseph448e74e2017-07-24 23:08:56 +05301864{
Patrick Williamsdf329092021-09-08 16:05:08 -05001865 using type = com::ibm::VPD::PathNotFound;
Tom Joseph448e74e2017-07-24 23:08:56 +05301866};
1867
Patrick Venture0b02be92018-08-31 11:55:55 -07001868} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05301869
Patrick Williamsdf329092021-09-08 16:05:08 -05001870namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301871{
Patrick Williamsdf329092021-09-08 16:05:08 -05001872namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +05301873{
Patrick Williamsdf329092021-09-08 16:05:08 -05001874namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +05301875{
Patrick Williamsdf329092021-09-08 16:05:08 -05001876namespace _RecordNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301877{
1878
Patrick Williamsdf329092021-09-08 16:05:08 -05001879} // namespace _RecordNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301880
Patrick Williamsdf329092021-09-08 16:05:08 -05001881struct RecordNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301882{
1883 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05001884 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05301885};
1886
Patrick Williamsdf329092021-09-08 16:05:08 -05001887} // namespace VPD
1888} // namespace ibm
1889} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301890
Tom Joseph448e74e2017-07-24 23:08:56 +05301891namespace details
1892{
1893
1894template <>
Patrick Williamsdf329092021-09-08 16:05:08 -05001895struct map_exception_type<sdbusplus::com::ibm::VPD::Error::RecordNotFound>
Tom Joseph448e74e2017-07-24 23:08:56 +05301896{
Patrick Williamsdf329092021-09-08 16:05:08 -05001897 using type = com::ibm::VPD::RecordNotFound;
Tom Joseph448e74e2017-07-24 23:08:56 +05301898};
1899
Patrick Venture0b02be92018-08-31 11:55:55 -07001900} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05301901
Patrick Williamsdf329092021-09-08 16:05:08 -05001902namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301903{
Patrick Williamsdf329092021-09-08 16:05:08 -05001904namespace ibm
Tom Joseph448e74e2017-07-24 23:08:56 +05301905{
Patrick Williamsdf329092021-09-08 16:05:08 -05001906namespace VPD
Tom Joseph448e74e2017-07-24 23:08:56 +05301907{
Patrick Williamsdf329092021-09-08 16:05:08 -05001908namespace _KeywordNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301909{
1910
Patrick Williamsdf329092021-09-08 16:05:08 -05001911} // namespace _KeywordNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301912
Patrick Williamsdf329092021-09-08 16:05:08 -05001913struct KeywordNotFound
Tom Joseph448e74e2017-07-24 23:08:56 +05301914{
1915 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05001916 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05301917};
1918
Patrick Williamsdf329092021-09-08 16:05:08 -05001919} // namespace VPD
1920} // namespace ibm
1921} // namespace com
Tom Joseph448e74e2017-07-24 23:08:56 +05301922
Tom Joseph448e74e2017-07-24 23:08:56 +05301923namespace details
1924{
1925
1926template <>
Patrick Williamsdf329092021-09-08 16:05:08 -05001927struct map_exception_type<sdbusplus::com::ibm::VPD::Error::KeywordNotFound>
Tom Joseph448e74e2017-07-24 23:08:56 +05301928{
Patrick Williamsdf329092021-09-08 16:05:08 -05001929 using type = com::ibm::VPD::KeywordNotFound;
1930};
1931
1932} // namespace details
1933
1934namespace com
1935{
1936namespace ibm
1937{
1938namespace VPD
1939{
1940namespace _BlankSystemVPD
1941{
1942
1943} // namespace _BlankSystemVPD
1944
1945struct BlankSystemVPD
1946{
1947 static constexpr auto L = level::ERR;
1948 using metadata_types = std::tuple<>;
1949};
1950
1951} // namespace VPD
1952} // namespace ibm
1953} // namespace com
1954
1955namespace details
1956{
1957
1958template <>
1959struct map_exception_type<sdbusplus::com::ibm::VPD::Error::BlankSystemVPD>
1960{
1961 using type = com::ibm::VPD::BlankSystemVPD;
1962};
1963
1964} // namespace details
1965
1966namespace com
1967{
1968namespace ibm
1969{
1970namespace VPD
1971{
1972namespace _InvalidEepromPath
1973{
1974
1975} // namespace _InvalidEepromPath
1976
1977struct InvalidEepromPath
1978{
1979 static constexpr auto L = level::ERR;
1980 using metadata_types = std::tuple<>;
1981};
1982
1983} // namespace VPD
1984} // namespace ibm
1985} // namespace com
1986
1987namespace details
1988{
1989
1990template <>
1991struct map_exception_type<sdbusplus::com::ibm::VPD::Error::InvalidEepromPath>
1992{
1993 using type = com::ibm::VPD::InvalidEepromPath;
1994};
1995
1996} // namespace details
1997
1998namespace com
1999{
2000namespace ibm
2001{
2002namespace VPD
2003{
2004namespace _InvalidVPD
2005{
2006
2007} // namespace _InvalidVPD
2008
2009struct InvalidVPD
2010{
2011 static constexpr auto L = level::ERR;
2012 using metadata_types = std::tuple<>;
2013};
2014
2015} // namespace VPD
2016} // namespace ibm
2017} // namespace com
2018
2019namespace details
2020{
2021
2022template <>
2023struct map_exception_type<sdbusplus::com::ibm::VPD::Error::InvalidVPD>
2024{
2025 using type = com::ibm::VPD::InvalidVPD;
2026};
2027
2028} // namespace details
2029
2030namespace com
2031{
2032namespace ibm
2033{
2034namespace VPD
2035{
2036namespace _EccCheckFailed
2037{
2038
2039} // namespace _EccCheckFailed
2040
2041struct EccCheckFailed
2042{
2043 static constexpr auto L = level::ERR;
2044 using metadata_types = std::tuple<>;
2045};
2046
2047} // namespace VPD
2048} // namespace ibm
2049} // namespace com
2050
2051namespace details
2052{
2053
2054template <>
2055struct map_exception_type<sdbusplus::com::ibm::VPD::Error::EccCheckFailed>
2056{
2057 using type = com::ibm::VPD::EccCheckFailed;
2058};
2059
2060} // namespace details
2061
2062namespace com
2063{
2064namespace ibm
2065{
2066namespace VPD
2067{
2068namespace _InvalidJson
2069{
2070
2071} // namespace _InvalidJson
2072
2073struct InvalidJson
2074{
2075 static constexpr auto L = level::ERR;
2076 using metadata_types = std::tuple<>;
2077};
2078
2079} // namespace VPD
2080} // namespace ibm
2081} // namespace com
2082
2083namespace details
2084{
2085
2086template <>
2087struct map_exception_type<sdbusplus::com::ibm::VPD::Error::InvalidJson>
2088{
2089 using type = com::ibm::VPD::InvalidJson;
2090};
2091
2092} // namespace details
2093
2094namespace com
2095{
2096namespace ibm
2097{
2098namespace VPD
2099{
2100namespace _DbusFailure
2101{
2102
2103} // namespace _DbusFailure
2104
2105struct DbusFailure
2106{
2107 static constexpr auto L = level::ERR;
2108 using metadata_types = std::tuple<>;
2109};
2110
2111} // namespace VPD
2112} // namespace ibm
2113} // namespace com
2114
2115namespace details
2116{
2117
2118template <>
2119struct map_exception_type<sdbusplus::com::ibm::VPD::Error::DbusFailure>
2120{
2121 using type = com::ibm::VPD::DbusFailure;
Tom Joseph448e74e2017-07-24 23:08:56 +05302122};
2123
Patrick Venture0b02be92018-08-31 11:55:55 -07002124} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05302125
Tom Josephb647d5b2017-10-31 17:25:33 +05302126namespace org
2127{
2128namespace open_power
2129{
2130namespace Common
2131{
2132namespace Callout
2133{
2134namespace _Procedure
2135{
2136
2137struct PROCEDURE
2138{
Patrick Williamsdf329092021-09-08 16:05:08 -05002139 /*
2140 * We can't use -fsanitize=undefined if we declare a
2141 * 'static constexpr auto str' member, so don't. Instead, open-code the
2142 * mako template lookups.
2143 */
Tom Josephb647d5b2017-10-31 17:25:33 +05302144 static constexpr auto str_short = "PROCEDURE";
Patrick Williamsdf329092021-09-08 16:05:08 -05002145 using type = std::tuple<std::decay_t<decltype("PROCEDURE=%u")>, uint32_t>;
2146 explicit constexpr PROCEDURE(uint32_t a) :
2147 _entry(entry("PROCEDURE=%u", a)){};
Tom Josephb647d5b2017-10-31 17:25:33 +05302148 type _entry;
2149};
2150
Patrick Venture0b02be92018-08-31 11:55:55 -07002151} // namespace _Procedure
Tom Josephb647d5b2017-10-31 17:25:33 +05302152
2153struct Procedure
2154{
2155 static constexpr auto L = level::ERR;
2156 using PROCEDURE = _Procedure::PROCEDURE;
2157 using metadata_types = std::tuple<PROCEDURE>;
Tom Josephb647d5b2017-10-31 17:25:33 +05302158};
2159
2160} // namespace Callout
2161} // namespace Common
2162} // namespace open_power
2163} // namespace org
2164
Tom Josephb647d5b2017-10-31 17:25:33 +05302165namespace details
2166{
2167
2168template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07002169struct map_exception_type<
2170 sdbusplus::org::open_power::Common::Callout::Error::Procedure>
Tom Josephb647d5b2017-10-31 17:25:33 +05302171{
2172 using type = org::open_power::Common::Callout::Procedure;
2173};
2174
Patrick Venture0b02be92018-08-31 11:55:55 -07002175} // namespace details
Tom Josephb647d5b2017-10-31 17:25:33 +05302176
Patrick Williamsdf329092021-09-08 16:05:08 -05002177namespace org
2178{
2179namespace open_power
2180{
2181namespace Proc
2182{
2183namespace FSI
2184{
2185namespace _SlaveDetectionFailure
2186{
2187
2188struct ERRNO
2189{
2190 /*
2191 * We can't use -fsanitize=undefined if we declare a
2192 * 'static constexpr auto str' member, so don't. Instead, open-code the
2193 * mako template lookups.
2194 */
2195 static constexpr auto str_short = "ERRNO";
2196 using type = std::tuple<std::decay_t<decltype("ERRNO=%d")>, int32_t>;
2197 explicit constexpr ERRNO(int32_t a) : _entry(entry("ERRNO=%d", a)){};
2198 type _entry;
2199};
2200
2201} // namespace _SlaveDetectionFailure
2202
2203struct SlaveDetectionFailure
2204{
2205 static constexpr auto L = level::ERR;
2206 using ERRNO = _SlaveDetectionFailure::ERRNO;
2207 using metadata_types = std::tuple<ERRNO>;
2208};
2209
2210} // namespace FSI
2211} // namespace Proc
2212} // namespace open_power
2213} // namespace org
2214
2215namespace details
2216{
2217
2218template <>
2219struct map_exception_type<
2220 sdbusplus::org::open_power::Proc::FSI::Error::SlaveDetectionFailure>
2221{
2222 using type = org::open_power::Proc::FSI::SlaveDetectionFailure;
2223};
2224
2225} // namespace details
2226
2227namespace xyz
2228{
2229namespace openbmc_project
2230{
2231namespace Certs
2232{
2233namespace _InvalidCertificate
2234{
2235
2236struct REASON
2237{
2238 /*
2239 * We can't use -fsanitize=undefined if we declare a
2240 * 'static constexpr auto str' member, so don't. Instead, open-code the
2241 * mako template lookups.
2242 */
2243 static constexpr auto str_short = "REASON ";
2244 using type = std::tuple<std::decay_t<decltype("REASON = %s")>, const char*>;
2245 explicit constexpr REASON(const char* a) :
2246 _entry(entry("REASON = %s", a)){};
2247 type _entry;
2248};
2249
2250} // namespace _InvalidCertificate
2251
2252struct InvalidCertificate
2253{
2254 static constexpr auto L = level::ERR;
2255 using REASON = _InvalidCertificate::REASON;
2256 using metadata_types = std::tuple<REASON>;
2257};
2258
2259} // namespace Certs
2260} // namespace openbmc_project
2261} // namespace xyz
2262
2263namespace details
2264{
2265
2266template <>
2267struct map_exception_type<
2268 sdbusplus::xyz::openbmc_project::Certs::Error::InvalidCertificate>
2269{
2270 using type = xyz::openbmc_project::Certs::InvalidCertificate;
2271};
2272
2273} // namespace details
2274
2275namespace xyz
2276{
2277namespace openbmc_project
2278{
2279namespace ScheduledTime
2280{
2281namespace _InvalidTime
2282{
2283
2284struct REASON
2285{
2286 /*
2287 * We can't use -fsanitize=undefined if we declare a
2288 * 'static constexpr auto str' member, so don't. Instead, open-code the
2289 * mako template lookups.
2290 */
2291 static constexpr auto str_short = "REASON";
2292 using type = std::tuple<std::decay_t<decltype("REASON=%s")>, const char*>;
2293 explicit constexpr REASON(const char* a) : _entry(entry("REASON=%s", a)){};
2294 type _entry;
2295};
2296
2297} // namespace _InvalidTime
2298
2299struct InvalidTime
2300{
2301 static constexpr auto L = level::ERR;
2302 using REASON = _InvalidTime::REASON;
2303 using metadata_types = std::tuple<REASON>;
2304};
2305
2306} // namespace ScheduledTime
2307} // namespace openbmc_project
2308} // namespace xyz
2309
2310namespace details
2311{
2312
2313template <>
2314struct map_exception_type<
2315 sdbusplus::xyz::openbmc_project::ScheduledTime::Error::InvalidTime>
2316{
2317 using type = xyz::openbmc_project::ScheduledTime::InvalidTime;
2318};
2319
2320} // namespace details
2321
2322namespace xyz
2323{
2324namespace openbmc_project
2325{
2326namespace HardwareIsolation
2327{
2328namespace _IsolatedAlready
2329{
2330
2331} // namespace _IsolatedAlready
2332
2333struct IsolatedAlready
2334{
2335 static constexpr auto L = level::ERR;
2336 using metadata_types = std::tuple<>;
2337};
2338
2339} // namespace HardwareIsolation
2340} // namespace openbmc_project
2341} // namespace xyz
2342
2343namespace details
2344{
2345
2346template <>
2347struct map_exception_type<
2348 sdbusplus::xyz::openbmc_project::HardwareIsolation::Error::IsolatedAlready>
2349{
2350 using type = xyz::openbmc_project::HardwareIsolation::IsolatedAlready;
2351};
2352
2353} // namespace details
2354
Tom Joseph448e74e2017-07-24 23:08:56 +05302355namespace xyz
2356{
2357namespace openbmc_project
2358{
2359namespace Common
2360{
2361namespace _Timeout
2362{
2363
2364struct TIMEOUT_IN_MSEC
2365{
Patrick Williamsdf329092021-09-08 16:05:08 -05002366 /*
2367 * We can't use -fsanitize=undefined if we declare a
2368 * 'static constexpr auto str' member, so don't. Instead, open-code the
2369 * mako template lookups.
2370 */
Tom Joseph448e74e2017-07-24 23:08:56 +05302371 static constexpr auto str_short = "TIMEOUT_IN_MSEC";
Patrick Williamsdf329092021-09-08 16:05:08 -05002372 using type =
2373 std::tuple<std::decay_t<decltype("TIMEOUT_IN_MSEC=%llu")>, uint64_t>;
2374 explicit constexpr TIMEOUT_IN_MSEC(uint64_t a) :
2375 _entry(entry("TIMEOUT_IN_MSEC=%llu", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05302376 type _entry;
2377};
2378
Patrick Venture0b02be92018-08-31 11:55:55 -07002379} // namespace _Timeout
Tom Joseph448e74e2017-07-24 23:08:56 +05302380
2381struct Timeout
2382{
2383 static constexpr auto L = level::ERR;
2384 using TIMEOUT_IN_MSEC = _Timeout::TIMEOUT_IN_MSEC;
2385 using metadata_types = std::tuple<TIMEOUT_IN_MSEC>;
Tom Joseph448e74e2017-07-24 23:08:56 +05302386};
2387
2388} // namespace Common
2389} // namespace openbmc_project
2390} // namespace xyz
2391
Tom Joseph448e74e2017-07-24 23:08:56 +05302392namespace details
2393{
2394
2395template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07002396struct map_exception_type<
2397 sdbusplus::xyz::openbmc_project::Common::Error::Timeout>
Tom Joseph448e74e2017-07-24 23:08:56 +05302398{
2399 using type = xyz::openbmc_project::Common::Timeout;
2400};
2401
Patrick Venture0b02be92018-08-31 11:55:55 -07002402} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05302403
2404namespace xyz
2405{
2406namespace openbmc_project
2407{
2408namespace Common
2409{
2410namespace _InternalFailure
2411{
2412
Patrick Venture0b02be92018-08-31 11:55:55 -07002413} // namespace _InternalFailure
Tom Joseph448e74e2017-07-24 23:08:56 +05302414
2415struct InternalFailure
2416{
2417 static constexpr auto L = level::ERR;
2418 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05302419};
2420
2421} // namespace Common
2422} // namespace openbmc_project
2423} // namespace xyz
2424
Tom Joseph448e74e2017-07-24 23:08:56 +05302425namespace details
2426{
2427
2428template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07002429struct map_exception_type<
2430 sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure>
Tom Joseph448e74e2017-07-24 23:08:56 +05302431{
2432 using type = xyz::openbmc_project::Common::InternalFailure;
2433};
2434
Patrick Venture0b02be92018-08-31 11:55:55 -07002435} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05302436
2437namespace xyz
2438{
2439namespace openbmc_project
2440{
2441namespace Common
2442{
2443namespace _InvalidArgument
2444{
2445
2446struct ARGUMENT_NAME
2447{
Patrick Williamsdf329092021-09-08 16:05:08 -05002448 /*
2449 * We can't use -fsanitize=undefined if we declare a
2450 * 'static constexpr auto str' member, so don't. Instead, open-code the
2451 * mako template lookups.
2452 */
Tom Joseph448e74e2017-07-24 23:08:56 +05302453 static constexpr auto str_short = "ARGUMENT_NAME";
Patrick Williamsdf329092021-09-08 16:05:08 -05002454 using type =
2455 std::tuple<std::decay_t<decltype("ARGUMENT_NAME=%s")>, const char*>;
2456 explicit constexpr ARGUMENT_NAME(const char* a) :
2457 _entry(entry("ARGUMENT_NAME=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05302458 type _entry;
2459};
2460struct ARGUMENT_VALUE
2461{
Patrick Williamsdf329092021-09-08 16:05:08 -05002462 /*
2463 * We can't use -fsanitize=undefined if we declare a
2464 * 'static constexpr auto str' member, so don't. Instead, open-code the
2465 * mako template lookups.
2466 */
Tom Joseph448e74e2017-07-24 23:08:56 +05302467 static constexpr auto str_short = "ARGUMENT_VALUE";
Patrick Williamsdf329092021-09-08 16:05:08 -05002468 using type =
2469 std::tuple<std::decay_t<decltype("ARGUMENT_VALUE=%s")>, const char*>;
2470 explicit constexpr ARGUMENT_VALUE(const char* a) :
2471 _entry(entry("ARGUMENT_VALUE=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05302472 type _entry;
2473};
2474
Patrick Venture0b02be92018-08-31 11:55:55 -07002475} // namespace _InvalidArgument
Tom Joseph448e74e2017-07-24 23:08:56 +05302476
2477struct InvalidArgument
2478{
2479 static constexpr auto L = level::ERR;
2480 using ARGUMENT_NAME = _InvalidArgument::ARGUMENT_NAME;
2481 using ARGUMENT_VALUE = _InvalidArgument::ARGUMENT_VALUE;
2482 using metadata_types = std::tuple<ARGUMENT_NAME, ARGUMENT_VALUE>;
Tom Joseph448e74e2017-07-24 23:08:56 +05302483};
2484
2485} // namespace Common
2486} // namespace openbmc_project
2487} // namespace xyz
2488
Tom Joseph448e74e2017-07-24 23:08:56 +05302489namespace details
2490{
2491
2492template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07002493struct map_exception_type<
2494 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument>
Tom Joseph448e74e2017-07-24 23:08:56 +05302495{
2496 using type = xyz::openbmc_project::Common::InvalidArgument;
2497};
2498
Patrick Venture0b02be92018-08-31 11:55:55 -07002499} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05302500
Tom Joseph448e74e2017-07-24 23:08:56 +05302501namespace xyz
2502{
2503namespace openbmc_project
2504{
Patrick Williamsdf329092021-09-08 16:05:08 -05002505namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05302506{
Patrick Williamsdf329092021-09-08 16:05:08 -05002507namespace _InsufficientPermission
Tom Joseph448e74e2017-07-24 23:08:56 +05302508{
2509
Patrick Williamsdf329092021-09-08 16:05:08 -05002510} // namespace _InsufficientPermission
2511
2512struct InsufficientPermission
Tom Joseph448e74e2017-07-24 23:08:56 +05302513{
Patrick Williamsdf329092021-09-08 16:05:08 -05002514 static constexpr auto L = level::INFO;
2515 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05302516};
2517
Patrick Williamsdf329092021-09-08 16:05:08 -05002518} // namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05302519} // namespace openbmc_project
2520} // namespace xyz
Patrick Williamsdf329092021-09-08 16:05:08 -05002521
2522namespace details
2523{
2524
2525template <>
2526struct map_exception_type<
2527 sdbusplus::xyz::openbmc_project::Common::Error::InsufficientPermission>
2528{
2529 using type = xyz::openbmc_project::Common::InsufficientPermission;
2530};
2531
2532} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05302533
Tom Joseph448e74e2017-07-24 23:08:56 +05302534namespace xyz
2535{
2536namespace openbmc_project
2537{
Patrick Williamsdf329092021-09-08 16:05:08 -05002538namespace Common
2539{
2540namespace _NotAllowed
2541{
2542
2543struct REASON
2544{
2545 /*
2546 * We can't use -fsanitize=undefined if we declare a
2547 * 'static constexpr auto str' member, so don't. Instead, open-code the
2548 * mako template lookups.
2549 */
2550 static constexpr auto str_short = "REASON";
2551 using type = std::tuple<std::decay_t<decltype("REASON=%s")>, const char*>;
2552 explicit constexpr REASON(const char* a) : _entry(entry("REASON=%s", a)){};
2553 type _entry;
2554};
2555
2556} // namespace _NotAllowed
2557
2558struct NotAllowed
2559{
2560 static constexpr auto L = level::INFO;
2561 using REASON = _NotAllowed::REASON;
2562 using metadata_types = std::tuple<REASON>;
2563};
2564
2565} // namespace Common
2566} // namespace openbmc_project
2567} // namespace xyz
2568
2569namespace details
2570{
2571
2572template <>
2573struct map_exception_type<
2574 sdbusplus::xyz::openbmc_project::Common::Error::NotAllowed>
2575{
2576 using type = xyz::openbmc_project::Common::NotAllowed;
2577};
2578
2579} // namespace details
2580
2581namespace xyz
2582{
2583namespace openbmc_project
2584{
2585namespace Common
2586{
2587namespace _NoCACertificate
2588{
2589
2590} // namespace _NoCACertificate
2591
2592struct NoCACertificate
2593{
2594 static constexpr auto L = level::ERR;
2595 using metadata_types = std::tuple<>;
2596};
2597
2598} // namespace Common
2599} // namespace openbmc_project
2600} // namespace xyz
2601
2602namespace details
2603{
2604
2605template <>
2606struct map_exception_type<
2607 sdbusplus::xyz::openbmc_project::Common::Error::NoCACertificate>
2608{
2609 using type = xyz::openbmc_project::Common::NoCACertificate;
2610};
2611
2612} // namespace details
2613
2614namespace xyz
2615{
2616namespace openbmc_project
2617{
2618namespace Common
2619{
2620namespace _TooManyResources
2621{
2622
2623} // namespace _TooManyResources
2624
2625struct TooManyResources
2626{
2627 static constexpr auto L = level::INFO;
2628 using metadata_types = std::tuple<>;
2629};
2630
2631} // namespace Common
2632} // namespace openbmc_project
2633} // namespace xyz
2634
2635namespace details
2636{
2637
2638template <>
2639struct map_exception_type<
2640 sdbusplus::xyz::openbmc_project::Common::Error::TooManyResources>
2641{
2642 using type = xyz::openbmc_project::Common::TooManyResources;
2643};
2644
2645} // namespace details
2646
2647namespace xyz
2648{
2649namespace openbmc_project
2650{
2651namespace Common
2652{
2653namespace _ResourceNotFound
2654{
2655
2656} // namespace _ResourceNotFound
2657
2658struct ResourceNotFound
2659{
2660 static constexpr auto L = level::INFO;
2661 using metadata_types = std::tuple<>;
2662};
2663
2664} // namespace Common
2665} // namespace openbmc_project
2666} // namespace xyz
2667
2668namespace details
2669{
2670
2671template <>
2672struct map_exception_type<
2673 sdbusplus::xyz::openbmc_project::Common::Error::ResourceNotFound>
2674{
2675 using type = xyz::openbmc_project::Common::ResourceNotFound;
2676};
2677
2678} // namespace details
2679
2680namespace xyz
2681{
2682namespace openbmc_project
2683{
2684namespace Common
2685{
2686namespace _Unavailable
2687{
2688
2689} // namespace _Unavailable
2690
2691struct Unavailable
2692{
2693 static constexpr auto L = level::ERR;
2694 using metadata_types = std::tuple<>;
2695};
2696
2697} // namespace Common
2698} // namespace openbmc_project
2699} // namespace xyz
2700
2701namespace details
2702{
2703
2704template <>
2705struct map_exception_type<
2706 sdbusplus::xyz::openbmc_project::Common::Error::Unavailable>
2707{
2708 using type = xyz::openbmc_project::Common::Unavailable;
2709};
2710
2711} // namespace details
2712
2713namespace xyz
2714{
2715namespace openbmc_project
2716{
2717namespace Common
2718{
2719namespace _UnsupportedRequest
2720{
2721
2722struct REASON
2723{
2724 /*
2725 * We can't use -fsanitize=undefined if we declare a
2726 * 'static constexpr auto str' member, so don't. Instead, open-code the
2727 * mako template lookups.
2728 */
2729 static constexpr auto str_short = "REASON";
2730 using type = std::tuple<std::decay_t<decltype("REASON=%s")>, const char*>;
2731 explicit constexpr REASON(const char* a) : _entry(entry("REASON=%s", a)){};
2732 type _entry;
2733};
2734
2735} // namespace _UnsupportedRequest
2736
2737struct UnsupportedRequest
2738{
2739 static constexpr auto L = level::INFO;
2740 using REASON = _UnsupportedRequest::REASON;
2741 using metadata_types = std::tuple<REASON>;
2742};
2743
2744} // namespace Common
2745} // namespace openbmc_project
2746} // namespace xyz
2747
2748namespace details
2749{
2750
2751template <>
2752struct map_exception_type<
2753 sdbusplus::xyz::openbmc_project::Common::Error::UnsupportedRequest>
2754{
2755 using type = xyz::openbmc_project::Common::UnsupportedRequest;
2756};
2757
2758} // namespace details
2759
2760namespace xyz
2761{
2762namespace openbmc_project
2763{
2764namespace BIOSConfig
2765{
2766namespace Common
2767{
2768namespace _AttributeNotFound
2769{
2770
2771} // namespace _AttributeNotFound
2772
2773struct AttributeNotFound
2774{
2775 static constexpr auto L = level::ERR;
2776 using metadata_types = std::tuple<>;
2777};
2778
2779} // namespace Common
2780} // namespace BIOSConfig
2781} // namespace openbmc_project
2782} // namespace xyz
2783
2784namespace details
2785{
2786
2787template <>
2788struct map_exception_type<sdbusplus::xyz::openbmc_project::BIOSConfig::Common::
2789 Error::AttributeNotFound>
2790{
2791 using type = xyz::openbmc_project::BIOSConfig::Common::AttributeNotFound;
2792};
2793
2794} // namespace details
2795
2796namespace xyz
2797{
2798namespace openbmc_project
2799{
2800namespace BIOSConfig
2801{
2802namespace Common
2803{
2804namespace _AttributeReadOnly
2805{
2806
2807struct REASON
2808{
2809 /*
2810 * We can't use -fsanitize=undefined if we declare a
2811 * 'static constexpr auto str' member, so don't. Instead, open-code the
2812 * mako template lookups.
2813 */
2814 static constexpr auto str_short = "REASON";
2815 using type = std::tuple<std::decay_t<decltype("REASON=%s")>, const char*>;
2816 explicit constexpr REASON(const char* a) : _entry(entry("REASON=%s", a)){};
2817 type _entry;
2818};
2819
2820} // namespace _AttributeReadOnly
2821
2822struct AttributeReadOnly
2823{
2824 static constexpr auto L = level::ERR;
2825 using REASON = _AttributeReadOnly::REASON;
2826 using metadata_types = std::tuple<REASON>;
2827};
2828
2829} // namespace Common
2830} // namespace BIOSConfig
2831} // namespace openbmc_project
2832} // namespace xyz
2833
2834namespace details
2835{
2836
2837template <>
2838struct map_exception_type<sdbusplus::xyz::openbmc_project::BIOSConfig::Common::
2839 Error::AttributeReadOnly>
2840{
2841 using type = xyz::openbmc_project::BIOSConfig::Common::AttributeReadOnly;
2842};
2843
2844} // namespace details
2845
2846namespace xyz
2847{
2848namespace openbmc_project
2849{
2850namespace BIOSConfig
2851{
2852namespace Common
2853{
2854namespace _InvalidCurrentPassword
2855{
2856
2857} // namespace _InvalidCurrentPassword
2858
2859struct InvalidCurrentPassword
2860{
2861 static constexpr auto L = level::ERR;
2862 using metadata_types = std::tuple<>;
2863};
2864
2865} // namespace Common
2866} // namespace BIOSConfig
2867} // namespace openbmc_project
2868} // namespace xyz
2869
2870namespace details
2871{
2872
2873template <>
2874struct map_exception_type<sdbusplus::xyz::openbmc_project::BIOSConfig::Common::
2875 Error::InvalidCurrentPassword>
2876{
2877 using type =
2878 xyz::openbmc_project::BIOSConfig::Common::InvalidCurrentPassword;
2879};
2880
2881} // namespace details
2882
2883namespace xyz
2884{
2885namespace openbmc_project
2886{
2887namespace BIOSConfig
2888{
2889namespace Common
2890{
2891namespace _PasswordNotSettable
2892{
2893
2894} // namespace _PasswordNotSettable
2895
2896struct PasswordNotSettable
2897{
2898 static constexpr auto L = level::ERR;
2899 using metadata_types = std::tuple<>;
2900};
2901
2902} // namespace Common
2903} // namespace BIOSConfig
2904} // namespace openbmc_project
2905} // namespace xyz
2906
2907namespace details
2908{
2909
2910template <>
2911struct map_exception_type<sdbusplus::xyz::openbmc_project::BIOSConfig::Common::
2912 Error::PasswordNotSettable>
2913{
2914 using type = xyz::openbmc_project::BIOSConfig::Common::PasswordNotSettable;
2915};
2916
2917} // namespace details
2918
2919namespace xyz
2920{
2921namespace openbmc_project
2922{
2923namespace Chassis
2924{
2925namespace Common
2926{
2927namespace _UnsupportedCommand
2928{
2929
2930} // namespace _UnsupportedCommand
2931
2932struct UnsupportedCommand
2933{
2934 static constexpr auto L = level::ERR;
2935 using metadata_types = std::tuple<>;
2936};
2937
2938} // namespace Common
2939} // namespace Chassis
2940} // namespace openbmc_project
2941} // namespace xyz
2942
2943namespace details
2944{
2945
2946template <>
2947struct map_exception_type<
2948 sdbusplus::xyz::openbmc_project::Chassis::Common::Error::UnsupportedCommand>
2949{
2950 using type = xyz::openbmc_project::Chassis::Common::UnsupportedCommand;
2951};
2952
2953} // namespace details
2954
2955namespace xyz
2956{
2957namespace openbmc_project
2958{
2959namespace Chassis
2960{
2961namespace Common
2962{
2963namespace _IOError
2964{
2965
2966} // namespace _IOError
2967
2968struct IOError
2969{
2970 static constexpr auto L = level::ERR;
2971 using metadata_types = std::tuple<>;
2972};
2973
2974} // namespace Common
2975} // namespace Chassis
2976} // namespace openbmc_project
2977} // namespace xyz
2978
2979namespace details
2980{
2981
2982template <>
2983struct map_exception_type<
2984 sdbusplus::xyz::openbmc_project::Chassis::Common::Error::IOError>
2985{
2986 using type = xyz::openbmc_project::Chassis::Common::IOError;
2987};
2988
2989} // namespace details
2990
2991namespace xyz
2992{
2993namespace openbmc_project
2994{
2995namespace Common
2996{
2997namespace Callout
2998{
2999namespace _Device
3000{
3001
3002struct CALLOUT_ERRNO
3003{
3004 /*
3005 * We can't use -fsanitize=undefined if we declare a
3006 * 'static constexpr auto str' member, so don't. Instead, open-code the
3007 * mako template lookups.
3008 */
3009 static constexpr auto str_short = "CALLOUT_ERRNO";
3010 using type =
3011 std::tuple<std::decay_t<decltype("CALLOUT_ERRNO=%d")>, int32_t>;
3012 explicit constexpr CALLOUT_ERRNO(int32_t a) :
3013 _entry(entry("CALLOUT_ERRNO=%d", a)){};
3014 type _entry;
3015};
3016struct CALLOUT_DEVICE_PATH
3017{
3018 /*
3019 * We can't use -fsanitize=undefined if we declare a
3020 * 'static constexpr auto str' member, so don't. Instead, open-code the
3021 * mako template lookups.
3022 */
3023 static constexpr auto str_short = "CALLOUT_DEVICE_PATH";
3024 using type = std::tuple<std::decay_t<decltype("CALLOUT_DEVICE_PATH=%s")>,
3025 const char*>;
3026 explicit constexpr CALLOUT_DEVICE_PATH(const char* a) :
3027 _entry(entry("CALLOUT_DEVICE_PATH=%s", a)){};
3028 type _entry;
3029};
3030
3031} // namespace _Device
3032
3033struct Device
3034{
3035 static constexpr auto L = level::ERR;
3036 using CALLOUT_ERRNO = _Device::CALLOUT_ERRNO;
3037 using CALLOUT_DEVICE_PATH = _Device::CALLOUT_DEVICE_PATH;
3038 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
3039};
3040
3041} // namespace Callout
3042} // namespace Common
3043} // namespace openbmc_project
3044} // namespace xyz
3045
3046namespace details
3047{
3048
3049template <>
3050struct map_exception_type<
3051 sdbusplus::xyz::openbmc_project::Common::Callout::Error::Device>
3052{
3053 using type = xyz::openbmc_project::Common::Callout::Device;
3054};
3055
3056} // namespace details
3057
3058namespace xyz
3059{
3060namespace openbmc_project
3061{
3062namespace Common
3063{
3064namespace Callout
3065{
3066namespace _GPIO
3067{
3068
3069struct CALLOUT_GPIO_NUM
3070{
3071 /*
3072 * We can't use -fsanitize=undefined if we declare a
3073 * 'static constexpr auto str' member, so don't. Instead, open-code the
3074 * mako template lookups.
3075 */
3076 static constexpr auto str_short = "CALLOUT_GPIO_NUM";
3077 using type =
3078 std::tuple<std::decay_t<decltype("CALLOUT_GPIO_NUM=%u")>, uint32_t>;
3079 explicit constexpr CALLOUT_GPIO_NUM(uint32_t a) :
3080 _entry(entry("CALLOUT_GPIO_NUM=%u", a)){};
3081 type _entry;
3082};
3083
3084} // namespace _GPIO
3085
3086struct GPIO
3087{
3088 static constexpr auto L = level::ERR;
3089 using CALLOUT_GPIO_NUM = _GPIO::CALLOUT_GPIO_NUM;
3090 using CALLOUT_ERRNO =
3091 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
3092 using CALLOUT_DEVICE_PATH =
3093 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
3094 using metadata_types =
3095 std::tuple<CALLOUT_GPIO_NUM, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
3096};
3097
3098} // namespace Callout
3099} // namespace Common
3100} // namespace openbmc_project
3101} // namespace xyz
3102
3103namespace details
3104{
3105
3106template <>
3107struct map_exception_type<
3108 sdbusplus::xyz::openbmc_project::Common::Callout::Error::GPIO>
3109{
3110 using type = xyz::openbmc_project::Common::Callout::GPIO;
3111};
3112
3113} // namespace details
3114
3115namespace xyz
3116{
3117namespace openbmc_project
3118{
3119namespace Common
3120{
3121namespace Callout
3122{
3123namespace _IIC
3124{
3125
3126struct CALLOUT_IIC_BUS
3127{
3128 /*
3129 * We can't use -fsanitize=undefined if we declare a
3130 * 'static constexpr auto str' member, so don't. Instead, open-code the
3131 * mako template lookups.
3132 */
3133 static constexpr auto str_short = "CALLOUT_IIC_BUS";
3134 using type =
3135 std::tuple<std::decay_t<decltype("CALLOUT_IIC_BUS=%s")>, const char*>;
3136 explicit constexpr CALLOUT_IIC_BUS(const char* a) :
3137 _entry(entry("CALLOUT_IIC_BUS=%s", a)){};
3138 type _entry;
3139};
3140struct CALLOUT_IIC_ADDR
3141{
3142 /*
3143 * We can't use -fsanitize=undefined if we declare a
3144 * 'static constexpr auto str' member, so don't. Instead, open-code the
3145 * mako template lookups.
3146 */
3147 static constexpr auto str_short = "CALLOUT_IIC_ADDR";
3148 using type =
3149 std::tuple<std::decay_t<decltype("CALLOUT_IIC_ADDR=0x%hx")>, uint16_t>;
3150 explicit constexpr CALLOUT_IIC_ADDR(uint16_t a) :
3151 _entry(entry("CALLOUT_IIC_ADDR=0x%hx", a)){};
3152 type _entry;
3153};
3154
3155} // namespace _IIC
3156
3157struct IIC
3158{
3159 static constexpr auto L = level::ERR;
3160 using CALLOUT_IIC_BUS = _IIC::CALLOUT_IIC_BUS;
3161 using CALLOUT_IIC_ADDR = _IIC::CALLOUT_IIC_ADDR;
3162 using CALLOUT_ERRNO =
3163 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
3164 using CALLOUT_DEVICE_PATH =
3165 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
3166 using metadata_types = std::tuple<CALLOUT_IIC_BUS, CALLOUT_IIC_ADDR,
3167 CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
3168};
3169
3170} // namespace Callout
3171} // namespace Common
3172} // namespace openbmc_project
3173} // namespace xyz
3174
3175namespace details
3176{
3177
3178template <>
3179struct map_exception_type<
3180 sdbusplus::xyz::openbmc_project::Common::Callout::Error::IIC>
3181{
3182 using type = xyz::openbmc_project::Common::Callout::IIC;
3183};
3184
3185} // namespace details
3186
3187namespace xyz
3188{
3189namespace openbmc_project
3190{
3191namespace Common
3192{
3193namespace Callout
3194{
3195namespace _Inventory
3196{
3197
3198struct CALLOUT_INVENTORY_PATH
3199{
3200 /*
3201 * We can't use -fsanitize=undefined if we declare a
3202 * 'static constexpr auto str' member, so don't. Instead, open-code the
3203 * mako template lookups.
3204 */
3205 static constexpr auto str_short = "CALLOUT_INVENTORY_PATH";
3206 using type = std::tuple<std::decay_t<decltype("CALLOUT_INVENTORY_PATH=%s")>,
3207 const char*>;
3208 explicit constexpr CALLOUT_INVENTORY_PATH(const char* a) :
3209 _entry(entry("CALLOUT_INVENTORY_PATH=%s", a)){};
3210 type _entry;
3211};
3212
3213} // namespace _Inventory
3214
3215struct Inventory
3216{
3217 static constexpr auto L = level::ERR;
3218 using CALLOUT_INVENTORY_PATH = _Inventory::CALLOUT_INVENTORY_PATH;
3219 using metadata_types = std::tuple<CALLOUT_INVENTORY_PATH>;
3220};
3221
3222} // namespace Callout
3223} // namespace Common
3224} // namespace openbmc_project
3225} // namespace xyz
3226
3227namespace details
3228{
3229
3230template <>
3231struct map_exception_type<
3232 sdbusplus::xyz::openbmc_project::Common::Callout::Error::Inventory>
3233{
3234 using type = xyz::openbmc_project::Common::Callout::Inventory;
3235};
3236
3237} // namespace details
3238
3239namespace xyz
3240{
3241namespace openbmc_project
3242{
3243namespace Common
3244{
3245namespace Callout
3246{
3247namespace _IPMISensor
3248{
3249
3250struct CALLOUT_IPMI_SENSOR_NUM
3251{
3252 /*
3253 * We can't use -fsanitize=undefined if we declare a
3254 * 'static constexpr auto str' member, so don't. Instead, open-code the
3255 * mako template lookups.
3256 */
3257 static constexpr auto str_short = "CALLOUT_IPMI_SENSOR_NUM";
3258 using type =
3259 std::tuple<std::decay_t<decltype("CALLOUT_IPMI_SENSOR_NUM=%u")>,
3260 uint32_t>;
3261 explicit constexpr CALLOUT_IPMI_SENSOR_NUM(uint32_t a) :
3262 _entry(entry("CALLOUT_IPMI_SENSOR_NUM=%u", a)){};
3263 type _entry;
3264};
3265
3266} // namespace _IPMISensor
3267
3268struct IPMISensor
3269{
3270 static constexpr auto L = level::ERR;
3271 using CALLOUT_IPMI_SENSOR_NUM = _IPMISensor::CALLOUT_IPMI_SENSOR_NUM;
3272 using metadata_types = std::tuple<CALLOUT_IPMI_SENSOR_NUM>;
3273};
3274
3275} // namespace Callout
3276} // namespace Common
3277} // namespace openbmc_project
3278} // namespace xyz
3279
3280namespace details
3281{
3282
3283template <>
3284struct map_exception_type<
3285 sdbusplus::xyz::openbmc_project::Common::Callout::Error::IPMISensor>
3286{
3287 using type = xyz::openbmc_project::Common::Callout::IPMISensor;
3288};
3289
3290} // namespace details
3291
3292namespace xyz
3293{
3294namespace openbmc_project
3295{
3296namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05303297{
3298namespace Device
3299{
3300namespace _ReadFailure
3301{
3302
Patrick Venture0b02be92018-08-31 11:55:55 -07003303} // namespace _ReadFailure
Tom Joseph448e74e2017-07-24 23:08:56 +05303304
3305struct ReadFailure
3306{
3307 static constexpr auto L = level::ERR;
Patrick Venture0b02be92018-08-31 11:55:55 -07003308 using CALLOUT_ERRNO =
3309 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
3310 using CALLOUT_DEVICE_PATH =
3311 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
Tom Joseph448e74e2017-07-24 23:08:56 +05303312 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303313};
3314
3315} // namespace Device
Patrick Williamsdf329092021-09-08 16:05:08 -05003316} // namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05303317} // namespace openbmc_project
3318} // namespace xyz
3319
Tom Joseph448e74e2017-07-24 23:08:56 +05303320namespace details
3321{
3322
3323template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003324struct map_exception_type<
Patrick Williamsdf329092021-09-08 16:05:08 -05003325 sdbusplus::xyz::openbmc_project::Common::Device::Error::ReadFailure>
Tom Joseph448e74e2017-07-24 23:08:56 +05303326{
Patrick Williamsdf329092021-09-08 16:05:08 -05003327 using type = xyz::openbmc_project::Common::Device::ReadFailure;
Tom Joseph448e74e2017-07-24 23:08:56 +05303328};
3329
Patrick Venture0b02be92018-08-31 11:55:55 -07003330} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05303331
Patrick Williamsdf329092021-09-08 16:05:08 -05003332namespace xyz
Tom Joseph448e74e2017-07-24 23:08:56 +05303333{
Patrick Williamsdf329092021-09-08 16:05:08 -05003334namespace openbmc_project
Tom Joseph448e74e2017-07-24 23:08:56 +05303335{
Patrick Williamsdf329092021-09-08 16:05:08 -05003336namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05303337{
Patrick Williamsdf329092021-09-08 16:05:08 -05003338namespace Device
3339{
3340namespace _WriteFailure
Tom Joseph448e74e2017-07-24 23:08:56 +05303341{
3342
Patrick Williamsdf329092021-09-08 16:05:08 -05003343} // namespace _WriteFailure
Tom Joseph448e74e2017-07-24 23:08:56 +05303344
Patrick Williamsdf329092021-09-08 16:05:08 -05003345struct WriteFailure
Tom Joseph448e74e2017-07-24 23:08:56 +05303346{
3347 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05003348 using CALLOUT_ERRNO =
3349 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
3350 using CALLOUT_DEVICE_PATH =
3351 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
3352 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303353};
3354
Patrick Williamsdf329092021-09-08 16:05:08 -05003355} // namespace Device
3356} // namespace Common
3357} // namespace openbmc_project
3358} // namespace xyz
Tom Joseph448e74e2017-07-24 23:08:56 +05303359
Tom Joseph448e74e2017-07-24 23:08:56 +05303360namespace details
3361{
3362
3363template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003364struct map_exception_type<
Patrick Williamsdf329092021-09-08 16:05:08 -05003365 sdbusplus::xyz::openbmc_project::Common::Device::Error::WriteFailure>
Tom Joseph448e74e2017-07-24 23:08:56 +05303366{
Patrick Williamsdf329092021-09-08 16:05:08 -05003367 using type = xyz::openbmc_project::Common::Device::WriteFailure;
Tom Joseph448e74e2017-07-24 23:08:56 +05303368};
3369
Patrick Venture0b02be92018-08-31 11:55:55 -07003370} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05303371
Tom Joseph448e74e2017-07-24 23:08:56 +05303372namespace xyz
3373{
3374namespace openbmc_project
3375{
Patrick Williamsdf329092021-09-08 16:05:08 -05003376namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05303377{
Patrick Williamsdf329092021-09-08 16:05:08 -05003378namespace File
Tom Joseph448e74e2017-07-24 23:08:56 +05303379{
Patrick Williamsdf329092021-09-08 16:05:08 -05003380namespace _Open
Tom Joseph448e74e2017-07-24 23:08:56 +05303381{
3382
Patrick Williamsdf329092021-09-08 16:05:08 -05003383struct ERRNO
Tom Joseph448e74e2017-07-24 23:08:56 +05303384{
Patrick Williamsdf329092021-09-08 16:05:08 -05003385 /*
3386 * We can't use -fsanitize=undefined if we declare a
3387 * 'static constexpr auto str' member, so don't. Instead, open-code the
3388 * mako template lookups.
3389 */
3390 static constexpr auto str_short = "ERRNO";
3391 using type = std::tuple<std::decay_t<decltype("ERRNO=%d")>, int32_t>;
3392 explicit constexpr ERRNO(int32_t a) : _entry(entry("ERRNO=%d", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05303393 type _entry;
3394};
Patrick Williamsdf329092021-09-08 16:05:08 -05003395struct PATH
Tom Joseph448e74e2017-07-24 23:08:56 +05303396{
Patrick Williamsdf329092021-09-08 16:05:08 -05003397 /*
3398 * We can't use -fsanitize=undefined if we declare a
3399 * 'static constexpr auto str' member, so don't. Instead, open-code the
3400 * mako template lookups.
3401 */
3402 static constexpr auto str_short = "PATH";
3403 using type = std::tuple<std::decay_t<decltype("PATH=%s")>, const char*>;
3404 explicit constexpr PATH(const char* a) : _entry(entry("PATH=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05303405 type _entry;
3406};
3407
Patrick Williamsdf329092021-09-08 16:05:08 -05003408} // namespace _Open
Tom Joseph448e74e2017-07-24 23:08:56 +05303409
Patrick Williamsdf329092021-09-08 16:05:08 -05003410struct Open
Tom Joseph448e74e2017-07-24 23:08:56 +05303411{
Tom Joseph448e74e2017-07-24 23:08:56 +05303412 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05003413 using ERRNO = _Open::ERRNO;
3414 using PATH = _Open::PATH;
3415 using metadata_types = std::tuple<ERRNO, PATH>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303416};
3417
Patrick Williamsdf329092021-09-08 16:05:08 -05003418} // namespace File
3419} // namespace Common
Tom Joseph448e74e2017-07-24 23:08:56 +05303420} // namespace openbmc_project
3421} // namespace xyz
Tom Josephb647d5b2017-10-31 17:25:33 +05303422
Tom Josephb647d5b2017-10-31 17:25:33 +05303423namespace details
3424{
3425
3426template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003427struct map_exception_type<
Patrick Williamsdf329092021-09-08 16:05:08 -05003428 sdbusplus::xyz::openbmc_project::Common::File::Error::Open>
Tom Josephb647d5b2017-10-31 17:25:33 +05303429{
Patrick Williamsdf329092021-09-08 16:05:08 -05003430 using type = xyz::openbmc_project::Common::File::Open;
3431};
3432
3433} // namespace details
3434
3435namespace xyz
3436{
3437namespace openbmc_project
3438{
3439namespace Common
3440{
3441namespace File
3442{
3443namespace _Seek
3444{
3445
3446struct OFFSET
3447{
3448 /*
3449 * We can't use -fsanitize=undefined if we declare a
3450 * 'static constexpr auto str' member, so don't. Instead, open-code the
3451 * mako template lookups.
3452 */
3453 static constexpr auto str_short = "OFFSET";
3454 using type = std::tuple<std::decay_t<decltype("OFFSET=%ll")>, int64_t>;
3455 explicit constexpr OFFSET(int64_t a) : _entry(entry("OFFSET=%ll", a)){};
3456 type _entry;
3457};
3458struct WHENCE
3459{
3460 /*
3461 * We can't use -fsanitize=undefined if we declare a
3462 * 'static constexpr auto str' member, so don't. Instead, open-code the
3463 * mako template lookups.
3464 */
3465 static constexpr auto str_short = "WHENCE";
3466 using type = std::tuple<std::decay_t<decltype("WHENCE=%d")>, int32_t>;
3467 explicit constexpr WHENCE(int32_t a) : _entry(entry("WHENCE=%d", a)){};
3468 type _entry;
3469};
3470struct ERRNO
3471{
3472 /*
3473 * We can't use -fsanitize=undefined if we declare a
3474 * 'static constexpr auto str' member, so don't. Instead, open-code the
3475 * mako template lookups.
3476 */
3477 static constexpr auto str_short = "ERRNO";
3478 using type = std::tuple<std::decay_t<decltype("ERRNO=%d")>, int32_t>;
3479 explicit constexpr ERRNO(int32_t a) : _entry(entry("ERRNO=%d", a)){};
3480 type _entry;
3481};
3482struct PATH
3483{
3484 /*
3485 * We can't use -fsanitize=undefined if we declare a
3486 * 'static constexpr auto str' member, so don't. Instead, open-code the
3487 * mako template lookups.
3488 */
3489 static constexpr auto str_short = "PATH";
3490 using type = std::tuple<std::decay_t<decltype("PATH=%s")>, const char*>;
3491 explicit constexpr PATH(const char* a) : _entry(entry("PATH=%s", a)){};
3492 type _entry;
3493};
3494
3495} // namespace _Seek
3496
3497struct Seek
3498{
3499 static constexpr auto L = level::ERR;
3500 using OFFSET = _Seek::OFFSET;
3501 using WHENCE = _Seek::WHENCE;
3502 using ERRNO = _Seek::ERRNO;
3503 using PATH = _Seek::PATH;
3504 using metadata_types = std::tuple<OFFSET, WHENCE, ERRNO, PATH>;
3505};
3506
3507} // namespace File
3508} // namespace Common
3509} // namespace openbmc_project
3510} // namespace xyz
3511
3512namespace details
3513{
3514
3515template <>
3516struct map_exception_type<
3517 sdbusplus::xyz::openbmc_project::Common::File::Error::Seek>
3518{
3519 using type = xyz::openbmc_project::Common::File::Seek;
3520};
3521
3522} // namespace details
3523
3524namespace xyz
3525{
3526namespace openbmc_project
3527{
3528namespace Common
3529{
3530namespace File
3531{
3532namespace _Write
3533{
3534
3535struct ERRNO
3536{
3537 /*
3538 * We can't use -fsanitize=undefined if we declare a
3539 * 'static constexpr auto str' member, so don't. Instead, open-code the
3540 * mako template lookups.
3541 */
3542 static constexpr auto str_short = "ERRNO";
3543 using type = std::tuple<std::decay_t<decltype("ERRNO=%d")>, int32_t>;
3544 explicit constexpr ERRNO(int32_t a) : _entry(entry("ERRNO=%d", a)){};
3545 type _entry;
3546};
3547struct PATH
3548{
3549 /*
3550 * We can't use -fsanitize=undefined if we declare a
3551 * 'static constexpr auto str' member, so don't. Instead, open-code the
3552 * mako template lookups.
3553 */
3554 static constexpr auto str_short = "PATH";
3555 using type = std::tuple<std::decay_t<decltype("PATH=%s")>, const char*>;
3556 explicit constexpr PATH(const char* a) : _entry(entry("PATH=%s", a)){};
3557 type _entry;
3558};
3559
3560} // namespace _Write
3561
3562struct Write
3563{
3564 static constexpr auto L = level::ERR;
3565 using ERRNO = _Write::ERRNO;
3566 using PATH = _Write::PATH;
3567 using metadata_types = std::tuple<ERRNO, PATH>;
3568};
3569
3570} // namespace File
3571} // namespace Common
3572} // namespace openbmc_project
3573} // namespace xyz
3574
3575namespace details
3576{
3577
3578template <>
3579struct map_exception_type<
3580 sdbusplus::xyz::openbmc_project::Common::File::Error::Write>
3581{
3582 using type = xyz::openbmc_project::Common::File::Write;
3583};
3584
3585} // namespace details
3586
3587namespace xyz
3588{
3589namespace openbmc_project
3590{
3591namespace Common
3592{
3593namespace File
3594{
3595namespace _Read
3596{
3597
3598struct ERRNO
3599{
3600 /*
3601 * We can't use -fsanitize=undefined if we declare a
3602 * 'static constexpr auto str' member, so don't. Instead, open-code the
3603 * mako template lookups.
3604 */
3605 static constexpr auto str_short = "ERRNO";
3606 using type = std::tuple<std::decay_t<decltype("ERRNO=%d")>, int32_t>;
3607 explicit constexpr ERRNO(int32_t a) : _entry(entry("ERRNO=%d", a)){};
3608 type _entry;
3609};
3610struct PATH
3611{
3612 /*
3613 * We can't use -fsanitize=undefined if we declare a
3614 * 'static constexpr auto str' member, so don't. Instead, open-code the
3615 * mako template lookups.
3616 */
3617 static constexpr auto str_short = "PATH";
3618 using type = std::tuple<std::decay_t<decltype("PATH=%s")>, const char*>;
3619 explicit constexpr PATH(const char* a) : _entry(entry("PATH=%s", a)){};
3620 type _entry;
3621};
3622
3623} // namespace _Read
3624
3625struct Read
3626{
3627 static constexpr auto L = level::ERR;
3628 using ERRNO = _Read::ERRNO;
3629 using PATH = _Read::PATH;
3630 using metadata_types = std::tuple<ERRNO, PATH>;
3631};
3632
3633} // namespace File
3634} // namespace Common
3635} // namespace openbmc_project
3636} // namespace xyz
3637
3638namespace details
3639{
3640
3641template <>
3642struct map_exception_type<
3643 sdbusplus::xyz::openbmc_project::Common::File::Error::Read>
3644{
3645 using type = xyz::openbmc_project::Common::File::Read;
Tom Josephb647d5b2017-10-31 17:25:33 +05303646};
3647
Patrick Venture0b02be92018-08-31 11:55:55 -07003648} // namespace details
Tom Josephb647d5b2017-10-31 17:25:33 +05303649
Tom Joseph448e74e2017-07-24 23:08:56 +05303650namespace xyz
3651{
3652namespace openbmc_project
3653{
3654namespace Control
3655{
3656namespace Device
3657{
3658namespace _WriteFailure
3659{
3660
Patrick Venture0b02be92018-08-31 11:55:55 -07003661} // namespace _WriteFailure
Tom Joseph448e74e2017-07-24 23:08:56 +05303662
3663struct WriteFailure
3664{
3665 static constexpr auto L = level::ERR;
Patrick Venture0b02be92018-08-31 11:55:55 -07003666 using CALLOUT_ERRNO =
3667 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
3668 using CALLOUT_DEVICE_PATH =
3669 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
Tom Joseph448e74e2017-07-24 23:08:56 +05303670 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303671};
3672
3673} // namespace Device
3674} // namespace Control
3675} // namespace openbmc_project
3676} // namespace xyz
3677
Tom Joseph448e74e2017-07-24 23:08:56 +05303678namespace details
3679{
3680
3681template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003682struct map_exception_type<
3683 sdbusplus::xyz::openbmc_project::Control::Device::Error::WriteFailure>
Tom Joseph448e74e2017-07-24 23:08:56 +05303684{
3685 using type = xyz::openbmc_project::Control::Device::WriteFailure;
3686};
3687
Patrick Venture0b02be92018-08-31 11:55:55 -07003688} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05303689
3690namespace xyz
3691{
3692namespace openbmc_project
3693{
Patrick Williamsdf329092021-09-08 16:05:08 -05003694namespace Control
Tom Joseph448e74e2017-07-24 23:08:56 +05303695{
3696namespace Host
3697{
Patrick Williamsdf329092021-09-08 16:05:08 -05003698namespace _CommandNotSupported
Tom Joseph448e74e2017-07-24 23:08:56 +05303699{
3700
Patrick Williamsdf329092021-09-08 16:05:08 -05003701} // namespace _CommandNotSupported
Tom Joseph448e74e2017-07-24 23:08:56 +05303702
Patrick Williamsdf329092021-09-08 16:05:08 -05003703struct CommandNotSupported
Tom Joseph448e74e2017-07-24 23:08:56 +05303704{
3705 static constexpr auto L = level::ERR;
Patrick Williamsdf329092021-09-08 16:05:08 -05003706 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303707};
3708
3709} // namespace Host
Patrick Williamsdf329092021-09-08 16:05:08 -05003710} // namespace Control
Tom Joseph448e74e2017-07-24 23:08:56 +05303711} // namespace openbmc_project
3712} // namespace xyz
3713
Tom Joseph448e74e2017-07-24 23:08:56 +05303714namespace details
3715{
3716
3717template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003718struct map_exception_type<
Patrick Williamsdf329092021-09-08 16:05:08 -05003719 sdbusplus::xyz::openbmc_project::Control::Host::Error::CommandNotSupported>
Tom Joseph448e74e2017-07-24 23:08:56 +05303720{
Patrick Williamsdf329092021-09-08 16:05:08 -05003721 using type = xyz::openbmc_project::Control::Host::CommandNotSupported;
Tom Joseph448e74e2017-07-24 23:08:56 +05303722};
3723
Patrick Venture0b02be92018-08-31 11:55:55 -07003724} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05303725
3726namespace xyz
3727{
3728namespace openbmc_project
3729{
3730namespace Dump
3731{
3732namespace Create
3733{
3734namespace _Disabled
3735{
3736
Patrick Venture0b02be92018-08-31 11:55:55 -07003737} // namespace _Disabled
Tom Joseph448e74e2017-07-24 23:08:56 +05303738
3739struct Disabled
3740{
3741 static constexpr auto L = level::ERR;
3742 using metadata_types = std::tuple<>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303743};
3744
3745} // namespace Create
3746} // namespace Dump
3747} // namespace openbmc_project
3748} // namespace xyz
3749
Tom Joseph448e74e2017-07-24 23:08:56 +05303750namespace details
3751{
3752
3753template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003754struct map_exception_type<
3755 sdbusplus::xyz::openbmc_project::Dump::Create::Error::Disabled>
Tom Joseph448e74e2017-07-24 23:08:56 +05303756{
3757 using type = xyz::openbmc_project::Dump::Create::Disabled;
3758};
3759
Patrick Venture0b02be92018-08-31 11:55:55 -07003760} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05303761
3762namespace xyz
3763{
3764namespace openbmc_project
3765{
3766namespace Dump
3767{
3768namespace Create
3769{
3770namespace _QuotaExceeded
3771{
3772
Gunnar Millsd8249ee2018-04-12 16:33:53 -05003773struct REASON
Tom Joseph448e74e2017-07-24 23:08:56 +05303774{
Patrick Williamsdf329092021-09-08 16:05:08 -05003775 /*
3776 * We can't use -fsanitize=undefined if we declare a
3777 * 'static constexpr auto str' member, so don't. Instead, open-code the
3778 * mako template lookups.
3779 */
Tom Joseph448e74e2017-07-24 23:08:56 +05303780 static constexpr auto str_short = "REASON ";
Patrick Williamsdf329092021-09-08 16:05:08 -05003781 using type = std::tuple<std::decay_t<decltype("REASON = %s")>, const char*>;
3782 explicit constexpr REASON(const char* a) :
3783 _entry(entry("REASON = %s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05303784 type _entry;
3785};
3786
Patrick Venture0b02be92018-08-31 11:55:55 -07003787} // namespace _QuotaExceeded
Tom Joseph448e74e2017-07-24 23:08:56 +05303788
3789struct QuotaExceeded
3790{
3791 static constexpr auto L = level::ERR;
Patrick Venture0b02be92018-08-31 11:55:55 -07003792 using REASON = _QuotaExceeded::REASON;
3793 using metadata_types = std::tuple<REASON>;
Tom Joseph448e74e2017-07-24 23:08:56 +05303794};
3795
3796} // namespace Create
3797} // namespace Dump
3798} // namespace openbmc_project
3799} // namespace xyz
3800
Tom Joseph448e74e2017-07-24 23:08:56 +05303801namespace details
3802{
3803
3804template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003805struct map_exception_type<
3806 sdbusplus::xyz::openbmc_project::Dump::Create::Error::QuotaExceeded>
Tom Joseph448e74e2017-07-24 23:08:56 +05303807{
3808 using type = xyz::openbmc_project::Dump::Create::QuotaExceeded;
3809};
3810
Patrick Venture0b02be92018-08-31 11:55:55 -07003811} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05303812
3813namespace xyz
3814{
3815namespace openbmc_project
3816{
Patrick Williamsdf329092021-09-08 16:05:08 -05003817namespace Logging
Tom Joseph448e74e2017-07-24 23:08:56 +05303818{
Patrick Williamsdf329092021-09-08 16:05:08 -05003819namespace SEL
Tom Joseph448e74e2017-07-24 23:08:56 +05303820{
Patrick Williamsdf329092021-09-08 16:05:08 -05003821namespace _Created
Tom Joseph448e74e2017-07-24 23:08:56 +05303822{
3823
Patrick Williamsdf329092021-09-08 16:05:08 -05003824struct RECORD_TYPE
Tom Joseph448e74e2017-07-24 23:08:56 +05303825{
Patrick Williamsdf329092021-09-08 16:05:08 -05003826 /*
3827 * We can't use -fsanitize=undefined if we declare a
3828 * 'static constexpr auto str' member, so don't. Instead, open-code the
3829 * mako template lookups.
3830 */
3831 static constexpr auto str_short = "RECORD_TYPE";
3832 using type = std::tuple<std::decay_t<decltype("RECORD_TYPE=%u")>, uint8_t>;
3833 explicit constexpr RECORD_TYPE(uint8_t a) :
3834 _entry(entry("RECORD_TYPE=%u", a)){};
3835 type _entry;
3836};
3837struct GENERATOR_ID
3838{
3839 /*
3840 * We can't use -fsanitize=undefined if we declare a
3841 * 'static constexpr auto str' member, so don't. Instead, open-code the
3842 * mako template lookups.
3843 */
3844 static constexpr auto str_short = "GENERATOR_ID";
3845 using type =
3846 std::tuple<std::decay_t<decltype("GENERATOR_ID=%u")>, uint16_t>;
3847 explicit constexpr GENERATOR_ID(uint16_t a) :
3848 _entry(entry("GENERATOR_ID=%u", a)){};
3849 type _entry;
3850};
3851struct SENSOR_DATA
3852{
3853 /*
3854 * We can't use -fsanitize=undefined if we declare a
3855 * 'static constexpr auto str' member, so don't. Instead, open-code the
3856 * mako template lookups.
3857 */
3858 static constexpr auto str_short = "SENSOR_DATA";
3859 using type =
3860 std::tuple<std::decay_t<decltype("SENSOR_DATA=%s")>, const char*>;
3861 explicit constexpr SENSOR_DATA(const char* a) :
3862 _entry(entry("SENSOR_DATA=%s", a)){};
3863 type _entry;
3864};
3865struct EVENT_DIR
3866{
3867 /*
3868 * We can't use -fsanitize=undefined if we declare a
3869 * 'static constexpr auto str' member, so don't. Instead, open-code the
3870 * mako template lookups.
3871 */
3872 static constexpr auto str_short = "EVENT_DIR";
3873 using type = std::tuple<std::decay_t<decltype("EVENT_DIR=%u")>, uint8_t>;
3874 explicit constexpr EVENT_DIR(uint8_t a) :
3875 _entry(entry("EVENT_DIR=%u", a)){};
3876 type _entry;
3877};
3878struct SENSOR_PATH
3879{
3880 /*
3881 * We can't use -fsanitize=undefined if we declare a
3882 * 'static constexpr auto str' member, so don't. Instead, open-code the
3883 * mako template lookups.
3884 */
3885 static constexpr auto str_short = "SENSOR_PATH";
3886 using type =
3887 std::tuple<std::decay_t<decltype("SENSOR_PATH=%s")>, const char*>;
3888 explicit constexpr SENSOR_PATH(const char* a) :
3889 _entry(entry("SENSOR_PATH=%s", a)){};
3890 type _entry;
Tom Joseph448e74e2017-07-24 23:08:56 +05303891};
3892
Patrick Williamsdf329092021-09-08 16:05:08 -05003893} // namespace _Created
3894
3895struct Created
3896{
3897 static constexpr auto L = level::INFO;
3898 using RECORD_TYPE = _Created::RECORD_TYPE;
3899 using GENERATOR_ID = _Created::GENERATOR_ID;
3900 using SENSOR_DATA = _Created::SENSOR_DATA;
3901 using EVENT_DIR = _Created::EVENT_DIR;
3902 using SENSOR_PATH = _Created::SENSOR_PATH;
3903 using metadata_types = std::tuple<RECORD_TYPE, GENERATOR_ID, SENSOR_DATA,
3904 EVENT_DIR, SENSOR_PATH>;
3905};
3906
3907} // namespace SEL
3908} // namespace Logging
Tom Joseph448e74e2017-07-24 23:08:56 +05303909} // namespace openbmc_project
3910} // namespace xyz
3911
Tom Joseph448e74e2017-07-24 23:08:56 +05303912namespace details
3913{
3914
3915template <>
Patrick Venture0b02be92018-08-31 11:55:55 -07003916struct map_exception_type<
Patrick Williamsdf329092021-09-08 16:05:08 -05003917 sdbusplus::xyz::openbmc_project::Logging::SEL::Error::Created>
Tom Joseph448e74e2017-07-24 23:08:56 +05303918{
Patrick Williamsdf329092021-09-08 16:05:08 -05003919 using type = xyz::openbmc_project::Logging::SEL::Created;
3920};
3921
3922} // namespace details
3923
3924namespace xyz
3925{
3926namespace openbmc_project
3927{
3928namespace Memory
3929{
3930namespace MemoryECC
3931{
3932namespace _isLoggingLimitReached
3933{
3934
3935} // namespace _isLoggingLimitReached
3936
3937struct isLoggingLimitReached
3938{
3939 static constexpr auto L = level::ERR;
3940 using metadata_types = std::tuple<>;
3941};
3942
3943} // namespace MemoryECC
3944} // namespace Memory
3945} // namespace openbmc_project
3946} // namespace xyz
3947
3948namespace details
3949{
3950
3951template <>
3952struct map_exception_type<sdbusplus::xyz::openbmc_project::Memory::MemoryECC::
3953 Error::isLoggingLimitReached>
3954{
3955 using type = xyz::openbmc_project::Memory::MemoryECC::isLoggingLimitReached;
3956};
3957
3958} // namespace details
3959
3960namespace xyz
3961{
3962namespace openbmc_project
3963{
3964namespace Memory
3965{
3966namespace MemoryECC
3967{
3968namespace _ceCount
3969{
3970
3971} // namespace _ceCount
3972
3973struct ceCount
3974{
3975 static constexpr auto L = level::ERR;
3976 using metadata_types = std::tuple<>;
3977};
3978
3979} // namespace MemoryECC
3980} // namespace Memory
3981} // namespace openbmc_project
3982} // namespace xyz
3983
3984namespace details
3985{
3986
3987template <>
3988struct map_exception_type<
3989 sdbusplus::xyz::openbmc_project::Memory::MemoryECC::Error::ceCount>
3990{
3991 using type = xyz::openbmc_project::Memory::MemoryECC::ceCount;
3992};
3993
3994} // namespace details
3995
3996namespace xyz
3997{
3998namespace openbmc_project
3999{
4000namespace Memory
4001{
4002namespace MemoryECC
4003{
4004namespace _ueCount
4005{
4006
4007} // namespace _ueCount
4008
4009struct ueCount
4010{
4011 static constexpr auto L = level::ERR;
4012 using metadata_types = std::tuple<>;
4013};
4014
4015} // namespace MemoryECC
4016} // namespace Memory
4017} // namespace openbmc_project
4018} // namespace xyz
4019
4020namespace details
4021{
4022
4023template <>
4024struct map_exception_type<
4025 sdbusplus::xyz::openbmc_project::Memory::MemoryECC::Error::ueCount>
4026{
4027 using type = xyz::openbmc_project::Memory::MemoryECC::ueCount;
4028};
4029
4030} // namespace details
4031
4032namespace xyz
4033{
4034namespace openbmc_project
4035{
4036namespace Nvme
4037{
4038namespace Status
4039{
4040namespace _CapacityFault
4041{
4042
4043} // namespace _CapacityFault
4044
4045struct CapacityFault
4046{
4047 static constexpr auto L = level::ERR;
4048 using metadata_types = std::tuple<>;
4049};
4050
4051} // namespace Status
4052} // namespace Nvme
4053} // namespace openbmc_project
4054} // namespace xyz
4055
4056namespace details
4057{
4058
4059template <>
4060struct map_exception_type<
4061 sdbusplus::xyz::openbmc_project::Nvme::Status::Error::CapacityFault>
4062{
4063 using type = xyz::openbmc_project::Nvme::Status::CapacityFault;
4064};
4065
4066} // namespace details
4067
4068namespace xyz
4069{
4070namespace openbmc_project
4071{
4072namespace Nvme
4073{
4074namespace Status
4075{
4076namespace _TemperatureFault
4077{
4078
4079} // namespace _TemperatureFault
4080
4081struct TemperatureFault
4082{
4083 static constexpr auto L = level::ERR;
4084 using metadata_types = std::tuple<>;
4085};
4086
4087} // namespace Status
4088} // namespace Nvme
4089} // namespace openbmc_project
4090} // namespace xyz
4091
4092namespace details
4093{
4094
4095template <>
4096struct map_exception_type<
4097 sdbusplus::xyz::openbmc_project::Nvme::Status::Error::TemperatureFault>
4098{
4099 using type = xyz::openbmc_project::Nvme::Status::TemperatureFault;
4100};
4101
4102} // namespace details
4103
4104namespace xyz
4105{
4106namespace openbmc_project
4107{
4108namespace Nvme
4109{
4110namespace Status
4111{
4112namespace _DegradesFault
4113{
4114
4115} // namespace _DegradesFault
4116
4117struct DegradesFault
4118{
4119 static constexpr auto L = level::ERR;
4120 using metadata_types = std::tuple<>;
4121};
4122
4123} // namespace Status
4124} // namespace Nvme
4125} // namespace openbmc_project
4126} // namespace xyz
4127
4128namespace details
4129{
4130
4131template <>
4132struct map_exception_type<
4133 sdbusplus::xyz::openbmc_project::Nvme::Status::Error::DegradesFault>
4134{
4135 using type = xyz::openbmc_project::Nvme::Status::DegradesFault;
4136};
4137
4138} // namespace details
4139
4140namespace xyz
4141{
4142namespace openbmc_project
4143{
4144namespace Nvme
4145{
4146namespace Status
4147{
4148namespace _MediaFault
4149{
4150
4151} // namespace _MediaFault
4152
4153struct MediaFault
4154{
4155 static constexpr auto L = level::ERR;
4156 using metadata_types = std::tuple<>;
4157};
4158
4159} // namespace Status
4160} // namespace Nvme
4161} // namespace openbmc_project
4162} // namespace xyz
4163
4164namespace details
4165{
4166
4167template <>
4168struct map_exception_type<
4169 sdbusplus::xyz::openbmc_project::Nvme::Status::Error::MediaFault>
4170{
4171 using type = xyz::openbmc_project::Nvme::Status::MediaFault;
4172};
4173
4174} // namespace details
4175
4176namespace xyz
4177{
4178namespace openbmc_project
4179{
4180namespace Nvme
4181{
4182namespace Status
4183{
4184namespace _BackupDeviceFault
4185{
4186
4187} // namespace _BackupDeviceFault
4188
4189struct BackupDeviceFault
4190{
4191 static constexpr auto L = level::ERR;
4192 using metadata_types = std::tuple<>;
4193};
4194
4195} // namespace Status
4196} // namespace Nvme
4197} // namespace openbmc_project
4198} // namespace xyz
4199
4200namespace details
4201{
4202
4203template <>
4204struct map_exception_type<
4205 sdbusplus::xyz::openbmc_project::Nvme::Status::Error::BackupDeviceFault>
4206{
4207 using type = xyz::openbmc_project::Nvme::Status::BackupDeviceFault;
4208};
4209
4210} // namespace details
4211
4212namespace xyz
4213{
4214namespace openbmc_project
4215{
4216namespace Sensor
4217{
4218namespace Device
4219{
4220namespace _ReadFailure
4221{
4222
4223} // namespace _ReadFailure
4224
4225struct ReadFailure
4226{
4227 static constexpr auto L = level::ERR;
4228 using CALLOUT_ERRNO =
4229 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
4230 using CALLOUT_DEVICE_PATH =
4231 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
4232 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
4233};
4234
4235} // namespace Device
4236} // namespace Sensor
4237} // namespace openbmc_project
4238} // namespace xyz
4239
4240namespace details
4241{
4242
4243template <>
4244struct map_exception_type<
4245 sdbusplus::xyz::openbmc_project::Sensor::Device::Error::ReadFailure>
4246{
4247 using type = xyz::openbmc_project::Sensor::Device::ReadFailure;
4248};
4249
4250} // namespace details
4251
4252namespace xyz
4253{
4254namespace openbmc_project
4255{
4256namespace Sensor
4257{
4258namespace Threshold
4259{
4260namespace _CriticalHigh
4261{
4262
4263struct SENSOR_DATA
4264{
4265 /*
4266 * We can't use -fsanitize=undefined if we declare a
4267 * 'static constexpr auto str' member, so don't. Instead, open-code the
4268 * mako template lookups.
4269 */
4270 static constexpr auto str_short = "SENSOR_DATA";
4271 using type =
4272 std::tuple<std::decay_t<decltype("SENSOR_DATA=%s")>, const char*>;
4273 explicit constexpr SENSOR_DATA(const char* a) :
4274 _entry(entry("SENSOR_DATA=%s", a)){};
4275 type _entry;
4276};
4277
4278} // namespace _CriticalHigh
4279
4280struct CriticalHigh
4281{
4282 static constexpr auto L = level::ERR;
4283 using SENSOR_DATA = _CriticalHigh::SENSOR_DATA;
4284 using metadata_types = std::tuple<SENSOR_DATA>;
4285};
4286
4287} // namespace Threshold
4288} // namespace Sensor
4289} // namespace openbmc_project
4290} // namespace xyz
4291
4292namespace details
4293{
4294
4295template <>
4296struct map_exception_type<
4297 sdbusplus::xyz::openbmc_project::Sensor::Threshold::Error::CriticalHigh>
4298{
4299 using type = xyz::openbmc_project::Sensor::Threshold::CriticalHigh;
4300};
4301
4302} // namespace details
4303
4304namespace xyz
4305{
4306namespace openbmc_project
4307{
4308namespace Sensor
4309{
4310namespace Threshold
4311{
4312namespace _CriticalLow
4313{
4314
4315struct SENSOR_DATA
4316{
4317 /*
4318 * We can't use -fsanitize=undefined if we declare a
4319 * 'static constexpr auto str' member, so don't. Instead, open-code the
4320 * mako template lookups.
4321 */
4322 static constexpr auto str_short = "SENSOR_DATA";
4323 using type =
4324 std::tuple<std::decay_t<decltype("SENSOR_DATA=%s")>, const char*>;
4325 explicit constexpr SENSOR_DATA(const char* a) :
4326 _entry(entry("SENSOR_DATA=%s", a)){};
4327 type _entry;
4328};
4329
4330} // namespace _CriticalLow
4331
4332struct CriticalLow
4333{
4334 static constexpr auto L = level::ERR;
4335 using SENSOR_DATA = _CriticalLow::SENSOR_DATA;
4336 using metadata_types = std::tuple<SENSOR_DATA>;
4337};
4338
4339} // namespace Threshold
4340} // namespace Sensor
4341} // namespace openbmc_project
4342} // namespace xyz
4343
4344namespace details
4345{
4346
4347template <>
4348struct map_exception_type<
4349 sdbusplus::xyz::openbmc_project::Sensor::Threshold::Error::CriticalLow>
4350{
4351 using type = xyz::openbmc_project::Sensor::Threshold::CriticalLow;
4352};
4353
4354} // namespace details
4355
4356namespace xyz
4357{
4358namespace openbmc_project
4359{
4360namespace Smbios
4361{
4362namespace MDR_V2
4363{
4364namespace _InvalidParameter
4365{
4366
4367} // namespace _InvalidParameter
4368
4369struct InvalidParameter
4370{
4371 static constexpr auto L = level::ERR;
4372 using metadata_types = std::tuple<>;
4373};
4374
4375} // namespace MDR_V2
4376} // namespace Smbios
4377} // namespace openbmc_project
4378} // namespace xyz
4379
4380namespace details
4381{
4382
4383template <>
4384struct map_exception_type<
4385 sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error::InvalidParameter>
4386{
4387 using type = xyz::openbmc_project::Smbios::MDR_V2::InvalidParameter;
4388};
4389
4390} // namespace details
4391
4392namespace xyz
4393{
4394namespace openbmc_project
4395{
4396namespace Smbios
4397{
4398namespace MDR_V2
4399{
4400namespace _UpdateInProgress
4401{
4402
4403} // namespace _UpdateInProgress
4404
4405struct UpdateInProgress
4406{
4407 static constexpr auto L = level::ERR;
4408 using metadata_types = std::tuple<>;
4409};
4410
4411} // namespace MDR_V2
4412} // namespace Smbios
4413} // namespace openbmc_project
4414} // namespace xyz
4415
4416namespace details
4417{
4418
4419template <>
4420struct map_exception_type<
4421 sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error::UpdateInProgress>
4422{
4423 using type = xyz::openbmc_project::Smbios::MDR_V2::UpdateInProgress;
4424};
4425
4426} // namespace details
4427
4428namespace xyz
4429{
4430namespace openbmc_project
4431{
4432namespace Smbios
4433{
4434namespace MDR_V2
4435{
4436namespace _InvalidId
4437{
4438
4439} // namespace _InvalidId
4440
4441struct InvalidId
4442{
4443 static constexpr auto L = level::ERR;
4444 using metadata_types = std::tuple<>;
4445};
4446
4447} // namespace MDR_V2
4448} // namespace Smbios
4449} // namespace openbmc_project
4450} // namespace xyz
4451
4452namespace details
4453{
4454
4455template <>
4456struct map_exception_type<
4457 sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error::InvalidId>
4458{
4459 using type = xyz::openbmc_project::Smbios::MDR_V2::InvalidId;
4460};
4461
4462} // namespace details
4463
4464namespace xyz
4465{
4466namespace openbmc_project
4467{
4468namespace Software
4469{
4470namespace Version
4471{
4472namespace _Incompatible
4473{
4474
4475struct MIN_VERSION
4476{
4477 /*
4478 * We can't use -fsanitize=undefined if we declare a
4479 * 'static constexpr auto str' member, so don't. Instead, open-code the
4480 * mako template lookups.
4481 */
4482 static constexpr auto str_short = "MIN_VERSION";
4483 using type =
4484 std::tuple<std::decay_t<decltype("MIN_VERSION=%s")>, const char*>;
4485 explicit constexpr MIN_VERSION(const char* a) :
4486 _entry(entry("MIN_VERSION=%s", a)){};
4487 type _entry;
4488};
4489struct ACTUAL_VERSION
4490{
4491 /*
4492 * We can't use -fsanitize=undefined if we declare a
4493 * 'static constexpr auto str' member, so don't. Instead, open-code the
4494 * mako template lookups.
4495 */
4496 static constexpr auto str_short = "ACTUAL_VERSION";
4497 using type =
4498 std::tuple<std::decay_t<decltype("ACTUAL_VERSION=%s")>, const char*>;
4499 explicit constexpr ACTUAL_VERSION(const char* a) :
4500 _entry(entry("ACTUAL_VERSION=%s", a)){};
4501 type _entry;
4502};
4503struct VERSION_PURPOSE
4504{
4505 /*
4506 * We can't use -fsanitize=undefined if we declare a
4507 * 'static constexpr auto str' member, so don't. Instead, open-code the
4508 * mako template lookups.
4509 */
4510 static constexpr auto str_short = "VERSION_PURPOSE";
4511 using type =
4512 std::tuple<std::decay_t<decltype("VERSION_PURPOSE=%s")>, const char*>;
4513 explicit constexpr VERSION_PURPOSE(const char* a) :
4514 _entry(entry("VERSION_PURPOSE=%s", a)){};
4515 type _entry;
4516};
4517
4518} // namespace _Incompatible
4519
4520struct Incompatible
4521{
4522 static constexpr auto L = level::ERR;
4523 using MIN_VERSION = _Incompatible::MIN_VERSION;
4524 using ACTUAL_VERSION = _Incompatible::ACTUAL_VERSION;
4525 using VERSION_PURPOSE = _Incompatible::VERSION_PURPOSE;
4526 using metadata_types =
4527 std::tuple<MIN_VERSION, ACTUAL_VERSION, VERSION_PURPOSE>;
4528};
4529
4530} // namespace Version
4531} // namespace Software
4532} // namespace openbmc_project
4533} // namespace xyz
4534
4535namespace details
4536{
4537
4538template <>
4539struct map_exception_type<
4540 sdbusplus::xyz::openbmc_project::Software::Version::Error::Incompatible>
4541{
4542 using type = xyz::openbmc_project::Software::Version::Incompatible;
4543};
4544
4545} // namespace details
4546
4547namespace xyz
4548{
4549namespace openbmc_project
4550{
4551namespace Software
4552{
4553namespace Version
4554{
4555namespace _AlreadyExists
4556{
4557
4558struct IMAGE_VERSION
4559{
4560 /*
4561 * We can't use -fsanitize=undefined if we declare a
4562 * 'static constexpr auto str' member, so don't. Instead, open-code the
4563 * mako template lookups.
4564 */
4565 static constexpr auto str_short = "IMAGE_VERSION";
4566 using type =
4567 std::tuple<std::decay_t<decltype("IMAGE_VERSION=%s")>, const char*>;
4568 explicit constexpr IMAGE_VERSION(const char* a) :
4569 _entry(entry("IMAGE_VERSION=%s", a)){};
4570 type _entry;
4571};
4572
4573} // namespace _AlreadyExists
4574
4575struct AlreadyExists
4576{
4577 static constexpr auto L = level::ERR;
4578 using IMAGE_VERSION = _AlreadyExists::IMAGE_VERSION;
4579 using metadata_types = std::tuple<IMAGE_VERSION>;
4580};
4581
4582} // namespace Version
4583} // namespace Software
4584} // namespace openbmc_project
4585} // namespace xyz
4586
4587namespace details
4588{
4589
4590template <>
4591struct map_exception_type<
4592 sdbusplus::xyz::openbmc_project::Software::Version::Error::AlreadyExists>
4593{
4594 using type = xyz::openbmc_project::Software::Version::AlreadyExists;
4595};
4596
4597} // namespace details
4598
4599namespace xyz
4600{
4601namespace openbmc_project
4602{
4603namespace State
4604{
4605namespace Host
4606{
4607namespace _SoftOffTimeout
4608{
4609
4610} // namespace _SoftOffTimeout
4611
4612struct SoftOffTimeout
4613{
4614 static constexpr auto L = level::ERR;
4615 using TIMEOUT_IN_MSEC =
4616 xyz::openbmc_project::Common::Timeout::TIMEOUT_IN_MSEC;
4617 using metadata_types = std::tuple<TIMEOUT_IN_MSEC>;
4618};
4619
4620} // namespace Host
4621} // namespace State
4622} // namespace openbmc_project
4623} // namespace xyz
4624
4625namespace details
4626{
4627
4628template <>
4629struct map_exception_type<
4630 sdbusplus::xyz::openbmc_project::State::Host::Error::SoftOffTimeout>
4631{
4632 using type = xyz::openbmc_project::State::Host::SoftOffTimeout;
4633};
4634
4635} // namespace details
4636
4637namespace xyz
4638{
4639namespace openbmc_project
4640{
4641namespace State
4642{
4643namespace SystemdTarget
4644{
4645namespace _Failure
4646{
4647
4648struct SYSTEMD_RESULT
4649{
4650 /*
4651 * We can't use -fsanitize=undefined if we declare a
4652 * 'static constexpr auto str' member, so don't. Instead, open-code the
4653 * mako template lookups.
4654 */
4655 static constexpr auto str_short = "SYSTEMD_RESULT";
4656 using type =
4657 std::tuple<std::decay_t<decltype("SYSTEMD_RESULT=%s")>, const char*>;
4658 explicit constexpr SYSTEMD_RESULT(const char* a) :
4659 _entry(entry("SYSTEMD_RESULT=%s", a)){};
4660 type _entry;
4661};
4662
4663} // namespace _Failure
4664
4665struct Failure
4666{
4667 static constexpr auto L = level::ERR;
4668 using SYSTEMD_RESULT = _Failure::SYSTEMD_RESULT;
4669 using metadata_types = std::tuple<SYSTEMD_RESULT>;
4670};
4671
4672} // namespace SystemdTarget
4673} // namespace State
4674} // namespace openbmc_project
4675} // namespace xyz
4676
4677namespace details
4678{
4679
4680template <>
4681struct map_exception_type<
4682 sdbusplus::xyz::openbmc_project::State::SystemdTarget::Error::Failure>
4683{
4684 using type = xyz::openbmc_project::State::SystemdTarget::Failure;
4685};
4686
4687} // namespace details
4688
4689namespace xyz
4690{
4691namespace openbmc_project
4692{
4693namespace State
4694{
4695namespace Shutdown
4696{
4697namespace Inventory
4698{
4699namespace _Fan
4700{
4701
4702} // namespace _Fan
4703
4704struct Fan
4705{
4706 static constexpr auto L = level::ERR;
4707 using metadata_types = std::tuple<>;
4708};
4709
4710} // namespace Inventory
4711} // namespace Shutdown
4712} // namespace State
4713} // namespace openbmc_project
4714} // namespace xyz
4715
4716namespace details
4717{
4718
4719template <>
4720struct map_exception_type<
4721 sdbusplus::xyz::openbmc_project::State::Shutdown::Inventory::Error::Fan>
4722{
4723 using type = xyz::openbmc_project::State::Shutdown::Inventory::Fan;
4724};
4725
4726} // namespace details
4727
4728namespace xyz
4729{
4730namespace openbmc_project
4731{
4732namespace State
4733{
4734namespace Shutdown
4735{
4736namespace ThermalEvent
4737{
4738namespace _Processor
4739{
4740
4741} // namespace _Processor
4742
4743struct Processor
4744{
4745 static constexpr auto L = level::ERR;
4746 using metadata_types = std::tuple<>;
4747};
4748
4749} // namespace ThermalEvent
4750} // namespace Shutdown
4751} // namespace State
4752} // namespace openbmc_project
4753} // namespace xyz
4754
4755namespace details
4756{
4757
4758template <>
4759struct map_exception_type<sdbusplus::xyz::openbmc_project::State::Shutdown::
4760 ThermalEvent::Error::Processor>
4761{
4762 using type = xyz::openbmc_project::State::Shutdown::ThermalEvent::Processor;
4763};
4764
4765} // namespace details
4766
4767namespace xyz
4768{
4769namespace openbmc_project
4770{
4771namespace State
4772{
4773namespace Shutdown
4774{
4775namespace ThermalEvent
4776{
4777namespace _GPU
4778{
4779
4780} // namespace _GPU
4781
4782struct GPU
4783{
4784 static constexpr auto L = level::ERR;
4785 using metadata_types = std::tuple<>;
4786};
4787
4788} // namespace ThermalEvent
4789} // namespace Shutdown
4790} // namespace State
4791} // namespace openbmc_project
4792} // namespace xyz
4793
4794namespace details
4795{
4796
4797template <>
4798struct map_exception_type<
4799 sdbusplus::xyz::openbmc_project::State::Shutdown::ThermalEvent::Error::GPU>
4800{
4801 using type = xyz::openbmc_project::State::Shutdown::ThermalEvent::GPU;
4802};
4803
4804} // namespace details
4805
4806namespace xyz
4807{
4808namespace openbmc_project
4809{
4810namespace State
4811{
4812namespace Shutdown
4813{
4814namespace ThermalEvent
4815{
4816namespace _Ambient
4817{
4818
4819} // namespace _Ambient
4820
4821struct Ambient
4822{
4823 static constexpr auto L = level::ERR;
4824 using metadata_types = std::tuple<>;
4825};
4826
4827} // namespace ThermalEvent
4828} // namespace Shutdown
4829} // namespace State
4830} // namespace openbmc_project
4831} // namespace xyz
4832
4833namespace details
4834{
4835
4836template <>
4837struct map_exception_type<sdbusplus::xyz::openbmc_project::State::Shutdown::
4838 ThermalEvent::Error::Ambient>
4839{
4840 using type = xyz::openbmc_project::State::Shutdown::ThermalEvent::Ambient;
4841};
4842
4843} // namespace details
4844
4845namespace xyz
4846{
4847namespace openbmc_project
4848{
4849namespace State
4850{
4851namespace Shutdown
4852{
4853namespace Power
4854{
4855namespace _Fault
4856{
4857
4858} // namespace _Fault
4859
4860struct Fault
4861{
4862 static constexpr auto L = level::ERR;
4863 using metadata_types = std::tuple<>;
4864};
4865
4866} // namespace Power
4867} // namespace Shutdown
4868} // namespace State
4869} // namespace openbmc_project
4870} // namespace xyz
4871
4872namespace details
4873{
4874
4875template <>
4876struct map_exception_type<
4877 sdbusplus::xyz::openbmc_project::State::Shutdown::Power::Error::Fault>
4878{
4879 using type = xyz::openbmc_project::State::Shutdown::Power::Fault;
4880};
4881
4882} // namespace details
4883
4884namespace xyz
4885{
4886namespace openbmc_project
4887{
4888namespace State
4889{
4890namespace Shutdown
4891{
4892namespace Power
4893{
4894namespace _Blackout
4895{
4896
4897} // namespace _Blackout
4898
4899struct Blackout
4900{
4901 static constexpr auto L = level::ERR;
4902 using metadata_types = std::tuple<>;
4903};
4904
4905} // namespace Power
4906} // namespace Shutdown
4907} // namespace State
4908} // namespace openbmc_project
4909} // namespace xyz
4910
4911namespace details
4912{
4913
4914template <>
4915struct map_exception_type<
4916 sdbusplus::xyz::openbmc_project::State::Shutdown::Power::Error::Blackout>
4917{
4918 using type = xyz::openbmc_project::State::Shutdown::Power::Blackout;
4919};
4920
4921} // namespace details
4922
4923namespace xyz
4924{
4925namespace openbmc_project
4926{
4927namespace State
4928{
4929namespace Shutdown
4930{
4931namespace Power
4932{
4933namespace _Regulator
4934{
4935
4936} // namespace _Regulator
4937
4938struct Regulator
4939{
4940 static constexpr auto L = level::ERR;
4941 using metadata_types = std::tuple<>;
4942};
4943
4944} // namespace Power
4945} // namespace Shutdown
4946} // namespace State
4947} // namespace openbmc_project
4948} // namespace xyz
4949
4950namespace details
4951{
4952
4953template <>
4954struct map_exception_type<
4955 sdbusplus::xyz::openbmc_project::State::Shutdown::Power::Error::Regulator>
4956{
4957 using type = xyz::openbmc_project::State::Shutdown::Power::Regulator;
4958};
4959
4960} // namespace details
4961
4962namespace xyz
4963{
4964namespace openbmc_project
4965{
4966namespace User
4967{
4968namespace Common
4969{
4970namespace _UserNameExists
4971{
4972
4973} // namespace _UserNameExists
4974
4975struct UserNameExists
4976{
4977 static constexpr auto L = level::ERR;
4978 using metadata_types = std::tuple<>;
4979};
4980
4981} // namespace Common
4982} // namespace User
4983} // namespace openbmc_project
4984} // namespace xyz
4985
4986namespace details
4987{
4988
4989template <>
4990struct map_exception_type<
4991 sdbusplus::xyz::openbmc_project::User::Common::Error::UserNameExists>
4992{
4993 using type = xyz::openbmc_project::User::Common::UserNameExists;
4994};
4995
4996} // namespace details
4997
4998namespace xyz
4999{
5000namespace openbmc_project
5001{
5002namespace User
5003{
5004namespace Common
5005{
5006namespace _UserNameDoesNotExist
5007{
5008
5009} // namespace _UserNameDoesNotExist
5010
5011struct UserNameDoesNotExist
5012{
5013 static constexpr auto L = level::ERR;
5014 using metadata_types = std::tuple<>;
5015};
5016
5017} // namespace Common
5018} // namespace User
5019} // namespace openbmc_project
5020} // namespace xyz
5021
5022namespace details
5023{
5024
5025template <>
5026struct map_exception_type<
5027 sdbusplus::xyz::openbmc_project::User::Common::Error::UserNameDoesNotExist>
5028{
5029 using type = xyz::openbmc_project::User::Common::UserNameDoesNotExist;
5030};
5031
5032} // namespace details
5033
5034namespace xyz
5035{
5036namespace openbmc_project
5037{
5038namespace User
5039{
5040namespace Common
5041{
5042namespace _UserNameGroupFail
5043{
5044
5045struct REASON
5046{
5047 /*
5048 * We can't use -fsanitize=undefined if we declare a
5049 * 'static constexpr auto str' member, so don't. Instead, open-code the
5050 * mako template lookups.
5051 */
5052 static constexpr auto str_short = "REASON ";
5053 using type = std::tuple<std::decay_t<decltype("REASON = %s")>, const char*>;
5054 explicit constexpr REASON(const char* a) :
5055 _entry(entry("REASON = %s", a)){};
5056 type _entry;
5057};
5058
5059} // namespace _UserNameGroupFail
5060
5061struct UserNameGroupFail
5062{
5063 static constexpr auto L = level::ERR;
5064 using REASON = _UserNameGroupFail::REASON;
5065 using metadata_types = std::tuple<REASON>;
5066};
5067
5068} // namespace Common
5069} // namespace User
5070} // namespace openbmc_project
5071} // namespace xyz
5072
5073namespace details
5074{
5075
5076template <>
5077struct map_exception_type<
5078 sdbusplus::xyz::openbmc_project::User::Common::Error::UserNameGroupFail>
5079{
5080 using type = xyz::openbmc_project::User::Common::UserNameGroupFail;
5081};
5082
5083} // namespace details
5084
5085namespace xyz
5086{
5087namespace openbmc_project
5088{
5089namespace User
5090{
5091namespace Common
5092{
5093namespace _UserNamePrivFail
5094{
5095
5096struct REASON
5097{
5098 /*
5099 * We can't use -fsanitize=undefined if we declare a
5100 * 'static constexpr auto str' member, so don't. Instead, open-code the
5101 * mako template lookups.
5102 */
5103 static constexpr auto str_short = "REASON ";
5104 using type = std::tuple<std::decay_t<decltype("REASON = %s")>, const char*>;
5105 explicit constexpr REASON(const char* a) :
5106 _entry(entry("REASON = %s", a)){};
5107 type _entry;
5108};
5109
5110} // namespace _UserNamePrivFail
5111
5112struct UserNamePrivFail
5113{
5114 static constexpr auto L = level::ERR;
5115 using REASON = _UserNamePrivFail::REASON;
5116 using metadata_types = std::tuple<REASON>;
5117};
5118
5119} // namespace Common
5120} // namespace User
5121} // namespace openbmc_project
5122} // namespace xyz
5123
5124namespace details
5125{
5126
5127template <>
5128struct map_exception_type<
5129 sdbusplus::xyz::openbmc_project::User::Common::Error::UserNamePrivFail>
5130{
5131 using type = xyz::openbmc_project::User::Common::UserNamePrivFail;
5132};
5133
5134} // namespace details
5135
5136namespace xyz
5137{
5138namespace openbmc_project
5139{
5140namespace User
5141{
5142namespace Common
5143{
5144namespace _NoResource
5145{
5146
5147struct REASON
5148{
5149 /*
5150 * We can't use -fsanitize=undefined if we declare a
5151 * 'static constexpr auto str' member, so don't. Instead, open-code the
5152 * mako template lookups.
5153 */
5154 static constexpr auto str_short = "REASON ";
5155 using type = std::tuple<std::decay_t<decltype("REASON = %s")>, const char*>;
5156 explicit constexpr REASON(const char* a) :
5157 _entry(entry("REASON = %s", a)){};
5158 type _entry;
5159};
5160
5161} // namespace _NoResource
5162
5163struct NoResource
5164{
5165 static constexpr auto L = level::ERR;
5166 using REASON = _NoResource::REASON;
5167 using metadata_types = std::tuple<REASON>;
5168};
5169
5170} // namespace Common
5171} // namespace User
5172} // namespace openbmc_project
5173} // namespace xyz
5174
5175namespace details
5176{
5177
5178template <>
5179struct map_exception_type<
5180 sdbusplus::xyz::openbmc_project::User::Common::Error::NoResource>
5181{
5182 using type = xyz::openbmc_project::User::Common::NoResource;
5183};
5184
5185} // namespace details
5186
5187namespace xyz
5188{
5189namespace openbmc_project
5190{
5191namespace User
5192{
5193namespace Common
5194{
5195namespace _PrivilegeMappingExists
5196{
5197
5198} // namespace _PrivilegeMappingExists
5199
5200struct PrivilegeMappingExists
5201{
5202 static constexpr auto L = level::ERR;
5203 using metadata_types = std::tuple<>;
5204};
5205
5206} // namespace Common
5207} // namespace User
5208} // namespace openbmc_project
5209} // namespace xyz
5210
5211namespace details
5212{
5213
5214template <>
5215struct map_exception_type<sdbusplus::xyz::openbmc_project::User::Common::Error::
5216 PrivilegeMappingExists>
5217{
5218 using type = xyz::openbmc_project::User::Common::PrivilegeMappingExists;
5219};
5220
5221} // namespace details
5222
5223namespace example
5224{
5225namespace xyz
5226{
5227namespace openbmc_project
5228{
5229namespace Example
5230{
5231namespace Device
5232{
5233namespace _Callout
5234{
5235
5236struct CALLOUT_ERRNO_TEST
5237{
5238 /*
5239 * We can't use -fsanitize=undefined if we declare a
5240 * 'static constexpr auto str' member, so don't. Instead, open-code the
5241 * mako template lookups.
5242 */
5243 static constexpr auto str_short = "CALLOUT_ERRNO_TEST";
5244 using type =
5245 std::tuple<std::decay_t<decltype("CALLOUT_ERRNO_TEST=%d")>, int32_t>;
5246 explicit constexpr CALLOUT_ERRNO_TEST(int32_t a) :
5247 _entry(entry("CALLOUT_ERRNO_TEST=%d", a)){};
5248 type _entry;
5249};
5250struct CALLOUT_DEVICE_PATH_TEST
5251{
5252 /*
5253 * We can't use -fsanitize=undefined if we declare a
5254 * 'static constexpr auto str' member, so don't. Instead, open-code the
5255 * mako template lookups.
5256 */
5257 static constexpr auto str_short = "CALLOUT_DEVICE_PATH_TEST";
5258 using type =
5259 std::tuple<std::decay_t<decltype("CALLOUT_DEVICE_PATH_TEST=%s")>,
5260 const char*>;
5261 explicit constexpr CALLOUT_DEVICE_PATH_TEST(const char* a) :
5262 _entry(entry("CALLOUT_DEVICE_PATH_TEST=%s", a)){};
5263 type _entry;
5264};
5265
5266} // namespace _Callout
5267
5268struct Callout : public sdbusplus::exception_t
5269{
5270 static constexpr auto errName =
5271 "example.xyz.openbmc_project.Example.Device.Callout";
5272 static constexpr auto errDesc = "Generic device callout";
5273 static constexpr auto L = level::ERR;
5274 using CALLOUT_ERRNO_TEST = _Callout::CALLOUT_ERRNO_TEST;
5275 using CALLOUT_DEVICE_PATH_TEST = _Callout::CALLOUT_DEVICE_PATH_TEST;
5276 using metadata_types =
5277 std::tuple<CALLOUT_ERRNO_TEST, CALLOUT_DEVICE_PATH_TEST>;
5278
5279 const char* name() const noexcept override
5280 {
5281 return errName;
5282 }
5283
5284 const char* description() const noexcept override
5285 {
5286 return errDesc;
5287 }
5288
5289 const char* what() const noexcept override
5290 {
5291 return errName;
5292 }
5293
5294 int get_errno() const noexcept override
5295 {
5296 return EIO;
5297 }
5298};
5299
5300} // namespace Device
5301} // namespace Example
5302} // namespace openbmc_project
5303} // namespace xyz
5304} // namespace example
5305
5306namespace example
5307{
5308namespace xyz
5309{
5310namespace openbmc_project
5311{
5312namespace Example
5313{
5314namespace Elog
5315{
5316namespace _TestErrorTwo
5317{
5318
5319struct DEV_ADDR
5320{
5321 /*
5322 * We can't use -fsanitize=undefined if we declare a
5323 * 'static constexpr auto str' member, so don't. Instead, open-code the
5324 * mako template lookups.
5325 */
5326 static constexpr auto str_short = "DEV_ADDR";
5327 using type =
5328 std::tuple<std::decay_t<decltype("DEV_ADDR=0x%.8X")>, uint32_t>;
5329 explicit constexpr DEV_ADDR(uint32_t a) :
5330 _entry(entry("DEV_ADDR=0x%.8X", a)){};
5331 type _entry;
5332};
5333struct DEV_ID
5334{
5335 /*
5336 * We can't use -fsanitize=undefined if we declare a
5337 * 'static constexpr auto str' member, so don't. Instead, open-code the
5338 * mako template lookups.
5339 */
5340 static constexpr auto str_short = "DEV_ID";
5341 using type = std::tuple<std::decay_t<decltype("DEV_ID=%u")>, uint32_t>;
5342 explicit constexpr DEV_ID(uint32_t a) : _entry(entry("DEV_ID=%u", a)){};
5343 type _entry;
5344};
5345struct DEV_NAME
5346{
5347 /*
5348 * We can't use -fsanitize=undefined if we declare a
5349 * 'static constexpr auto str' member, so don't. Instead, open-code the
5350 * mako template lookups.
5351 */
5352 static constexpr auto str_short = "DEV_NAME";
5353 using type = std::tuple<std::decay_t<decltype("DEV_NAME=%s")>, const char*>;
5354 explicit constexpr DEV_NAME(const char* a) :
5355 _entry(entry("DEV_NAME=%s", a)){};
5356 type _entry;
5357};
5358
5359} // namespace _TestErrorTwo
5360
5361struct TestErrorTwo : public sdbusplus::exception_t
5362{
5363 static constexpr auto errName =
5364 "example.xyz.openbmc_project.Example.Elog.TestErrorTwo";
5365 static constexpr auto errDesc = "This is test error two";
5366 static constexpr auto L = level::ERR;
5367 using DEV_ADDR = _TestErrorTwo::DEV_ADDR;
5368 using DEV_ID = _TestErrorTwo::DEV_ID;
5369 using DEV_NAME = _TestErrorTwo::DEV_NAME;
5370 using metadata_types = std::tuple<DEV_ADDR, DEV_ID, DEV_NAME>;
5371
5372 const char* name() const noexcept override
5373 {
5374 return errName;
5375 }
5376
5377 const char* description() const noexcept override
5378 {
5379 return errDesc;
5380 }
5381
5382 const char* what() const noexcept override
5383 {
5384 return errName;
5385 }
5386
5387 int get_errno() const noexcept override
5388 {
5389 return EIO;
5390 }
5391};
5392
5393} // namespace Elog
5394} // namespace Example
5395} // namespace openbmc_project
5396} // namespace xyz
5397} // namespace example
5398
5399namespace example
5400{
5401namespace xyz
5402{
5403namespace openbmc_project
5404{
5405namespace Example
5406{
5407namespace Elog
5408{
5409namespace _AutoTestSimple
5410{
5411
5412struct STRING
5413{
5414 /*
5415 * We can't use -fsanitize=undefined if we declare a
5416 * 'static constexpr auto str' member, so don't. Instead, open-code the
5417 * mako template lookups.
5418 */
5419 static constexpr auto str_short = "STRING";
5420 using type = std::tuple<std::decay_t<decltype("STRING=%s")>, const char*>;
5421 explicit constexpr STRING(const char* a) : _entry(entry("STRING=%s", a)){};
5422 type _entry;
5423};
5424
5425} // namespace _AutoTestSimple
5426
5427struct AutoTestSimple : public sdbusplus::exception_t
5428{
5429 static constexpr auto errName =
5430 "example.xyz.openbmc_project.Example.Elog.AutoTestSimple";
5431 static constexpr auto errDesc = "This is a simple test error.";
5432 static constexpr auto L = level::ERR;
5433 using STRING = _AutoTestSimple::STRING;
5434 using metadata_types = std::tuple<STRING>;
5435
5436 const char* name() const noexcept override
5437 {
5438 return errName;
5439 }
5440
5441 const char* description() const noexcept override
5442 {
5443 return errDesc;
5444 }
5445
5446 const char* what() const noexcept override
5447 {
5448 return errName;
5449 }
5450
5451 int get_errno() const noexcept override
5452 {
5453 return EIO;
5454 }
5455};
5456
5457} // namespace Elog
5458} // namespace Example
5459} // namespace openbmc_project
5460} // namespace xyz
5461} // namespace example
5462
5463namespace example
5464{
5465namespace xyz
5466{
5467namespace openbmc_project
5468{
5469namespace Example
5470{
5471namespace Elog
5472{
5473namespace _TestCallout
5474{
5475
5476struct DEV_ADDR
5477{
5478 /*
5479 * We can't use -fsanitize=undefined if we declare a
5480 * 'static constexpr auto str' member, so don't. Instead, open-code the
5481 * mako template lookups.
5482 */
5483 static constexpr auto str_short = "DEV_ADDR";
5484 using type =
5485 std::tuple<std::decay_t<decltype("DEV_ADDR=0x%.8X")>, uint32_t>;
5486 explicit constexpr DEV_ADDR(uint32_t a) :
5487 _entry(entry("DEV_ADDR=0x%.8X", a)){};
5488 type _entry;
5489};
5490
5491} // namespace _TestCallout
5492
5493struct TestCallout : public sdbusplus::exception_t
5494{
5495 static constexpr auto errName =
5496 "example.xyz.openbmc_project.Example.Elog.TestCallout";
5497 static constexpr auto errDesc = "This is test error TestCallout";
5498 static constexpr auto L = level::ERR;
5499 using DEV_ADDR = _TestCallout::DEV_ADDR;
5500 using CALLOUT_ERRNO_TEST = example::xyz::openbmc_project::Example::Device::
5501 Callout::CALLOUT_ERRNO_TEST;
5502 using CALLOUT_DEVICE_PATH_TEST = example::xyz::openbmc_project::Example::
5503 Device::Callout::CALLOUT_DEVICE_PATH_TEST;
5504 using metadata_types =
5505 std::tuple<DEV_ADDR, CALLOUT_ERRNO_TEST, CALLOUT_DEVICE_PATH_TEST>;
5506
5507 const char* name() const noexcept override
5508 {
5509 return errName;
5510 }
5511
5512 const char* description() const noexcept override
5513 {
5514 return errDesc;
5515 }
5516
5517 const char* what() const noexcept override
5518 {
5519 return errName;
5520 }
5521
5522 int get_errno() const noexcept override
5523 {
5524 return EIO;
5525 }
5526};
5527
5528} // namespace Elog
5529} // namespace Example
5530} // namespace openbmc_project
5531} // namespace xyz
5532} // namespace example
5533
5534namespace org
5535{
5536namespace open_power
5537{
5538namespace Host
5539{
5540namespace _Event
5541{
5542
5543struct ESEL
5544{
5545 /*
5546 * We can't use -fsanitize=undefined if we declare a
5547 * 'static constexpr auto str' member, so don't. Instead, open-code the
5548 * mako template lookups.
5549 */
5550 static constexpr auto str_short = "ESEL";
5551 using type = std::tuple<std::decay_t<decltype("ESEL=%s")>, const char*>;
5552 explicit constexpr ESEL(const char* a) : _entry(entry("ESEL=%s", a)){};
5553 type _entry;
5554};
5555
5556} // namespace _Event
5557
5558struct Event
5559{
5560 static constexpr auto L = level::ERR;
5561 using ESEL = _Event::ESEL;
5562 using CALLOUT_INVENTORY_PATH = xyz::openbmc_project::Common::Callout::
5563 Inventory::CALLOUT_INVENTORY_PATH;
5564 using metadata_types = std::tuple<ESEL, CALLOUT_INVENTORY_PATH>;
5565};
5566
5567} // namespace Host
5568} // namespace open_power
5569} // namespace org
5570
5571namespace details
5572{
5573
5574template <>
5575struct map_exception_type<sdbusplus::org::open_power::Host::Error::Event>
5576{
5577 using type = org::open_power::Host::Event;
5578};
5579
5580} // namespace details
5581
5582namespace org
5583{
5584namespace open_power
5585{
5586namespace Host
5587{
5588namespace _MaintenanceProcedure
5589{
5590
5591struct ESEL
5592{
5593 /*
5594 * We can't use -fsanitize=undefined if we declare a
5595 * 'static constexpr auto str' member, so don't. Instead, open-code the
5596 * mako template lookups.
5597 */
5598 static constexpr auto str_short = "ESEL";
5599 using type = std::tuple<std::decay_t<decltype("ESEL=%s")>, const char*>;
5600 explicit constexpr ESEL(const char* a) : _entry(entry("ESEL=%s", a)){};
5601 type _entry;
5602};
5603
5604} // namespace _MaintenanceProcedure
5605
5606struct MaintenanceProcedure
5607{
5608 static constexpr auto L = level::ERR;
5609 using ESEL = _MaintenanceProcedure::ESEL;
5610 using PROCEDURE = org::open_power::Common::Callout::Procedure::PROCEDURE;
5611 using metadata_types = std::tuple<ESEL, PROCEDURE>;
5612};
5613
5614} // namespace Host
5615} // namespace open_power
5616} // namespace org
5617
5618namespace details
5619{
5620
5621template <>
5622struct map_exception_type<
5623 sdbusplus::org::open_power::Host::Error::MaintenanceProcedure>
5624{
5625 using type = org::open_power::Host::MaintenanceProcedure;
5626};
5627
5628} // namespace details
5629
5630namespace org
5631{
5632namespace open_power
5633{
5634namespace Host
5635{
5636namespace Access
5637{
5638namespace _WriteCFAM
5639{
5640
5641struct ADDRESS
5642{
5643 /*
5644 * We can't use -fsanitize=undefined if we declare a
5645 * 'static constexpr auto str' member, so don't. Instead, open-code the
5646 * mako template lookups.
5647 */
5648 static constexpr auto str_short = "ADDRESS";
5649 using type = std::tuple<std::decay_t<decltype("ADDRESS=0x%X")>, uint32_t>;
5650 explicit constexpr ADDRESS(uint32_t a) : _entry(entry("ADDRESS=0x%X", a)){};
5651 type _entry;
5652};
5653
5654} // namespace _WriteCFAM
5655
5656struct WriteCFAM
5657{
5658 static constexpr auto L = level::ERR;
5659 using ADDRESS = _WriteCFAM::ADDRESS;
5660 using CALLOUT_ERRNO =
5661 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
5662 using CALLOUT_DEVICE_PATH =
5663 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
5664 using metadata_types =
5665 std::tuple<ADDRESS, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
5666};
5667
5668} // namespace Access
5669} // namespace Host
5670} // namespace open_power
5671} // namespace org
5672
5673namespace details
5674{
5675
5676template <>
5677struct map_exception_type<
5678 sdbusplus::org::open_power::Host::Access::Error::WriteCFAM>
5679{
5680 using type = org::open_power::Host::Access::WriteCFAM;
5681};
5682
5683} // namespace details
5684
5685namespace org
5686{
5687namespace open_power
5688{
5689namespace Host
5690{
5691namespace Access
5692{
5693namespace _ReadCFAM
5694{
5695
5696struct ADDRESS
5697{
5698 /*
5699 * We can't use -fsanitize=undefined if we declare a
5700 * 'static constexpr auto str' member, so don't. Instead, open-code the
5701 * mako template lookups.
5702 */
5703 static constexpr auto str_short = "ADDRESS";
5704 using type = std::tuple<std::decay_t<decltype("ADDRESS=0x%X")>, uint32_t>;
5705 explicit constexpr ADDRESS(uint32_t a) : _entry(entry("ADDRESS=0x%X", a)){};
5706 type _entry;
5707};
5708
5709} // namespace _ReadCFAM
5710
5711struct ReadCFAM
5712{
5713 static constexpr auto L = level::ERR;
5714 using ADDRESS = _ReadCFAM::ADDRESS;
5715 using CALLOUT_ERRNO =
5716 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
5717 using CALLOUT_DEVICE_PATH =
5718 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
5719 using metadata_types =
5720 std::tuple<ADDRESS, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
5721};
5722
5723} // namespace Access
5724} // namespace Host
5725} // namespace open_power
5726} // namespace org
5727
5728namespace details
5729{
5730
5731template <>
5732struct map_exception_type<
5733 sdbusplus::org::open_power::Host::Access::Error::ReadCFAM>
5734{
5735 using type = org::open_power::Host::Access::ReadCFAM;
5736};
5737
5738} // namespace details
5739
5740namespace org
5741{
5742namespace open_power
5743{
5744namespace Proc
5745{
5746namespace FSI
5747{
5748namespace _MasterDetectionFailure
5749{
5750
5751} // namespace _MasterDetectionFailure
5752
5753struct MasterDetectionFailure
5754{
5755 static constexpr auto L = level::ERR;
5756 using CALLOUT_ERRNO =
5757 xyz::openbmc_project::Common::Callout::Device::CALLOUT_ERRNO;
5758 using CALLOUT_DEVICE_PATH =
5759 xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH;
5760 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
5761};
5762
5763} // namespace FSI
5764} // namespace Proc
5765} // namespace open_power
5766} // namespace org
5767
5768namespace details
5769{
5770
5771template <>
5772struct map_exception_type<
5773 sdbusplus::org::open_power::Proc::FSI::Error::MasterDetectionFailure>
5774{
5775 using type = org::open_power::Proc::FSI::MasterDetectionFailure;
5776};
5777
5778} // namespace details
5779
5780namespace xyz
5781{
5782namespace openbmc_project
5783{
5784namespace Inventory
5785{
5786namespace _NotPresent
5787{
5788
5789} // namespace _NotPresent
5790
5791struct NotPresent
5792{
5793 static constexpr auto L = level::ERR;
5794 using CALLOUT_INVENTORY_PATH = xyz::openbmc_project::Common::Callout::
5795 Inventory::CALLOUT_INVENTORY_PATH;
5796 using metadata_types = std::tuple<CALLOUT_INVENTORY_PATH>;
5797};
5798
5799} // namespace Inventory
5800} // namespace openbmc_project
5801} // namespace xyz
5802
5803namespace details
5804{
5805
5806template <>
5807struct map_exception_type<
5808 sdbusplus::xyz::openbmc_project::Inventory::Error::NotPresent>
5809{
5810 using type = xyz::openbmc_project::Inventory::NotPresent;
5811};
5812
5813} // namespace details
5814
5815namespace xyz
5816{
5817namespace openbmc_project
5818{
5819namespace Inventory
5820{
5821namespace _Nonfunctional
5822{
5823
5824} // namespace _Nonfunctional
5825
5826struct Nonfunctional
5827{
5828 static constexpr auto L = level::ERR;
5829 using CALLOUT_INVENTORY_PATH = xyz::openbmc_project::Common::Callout::
5830 Inventory::CALLOUT_INVENTORY_PATH;
5831 using metadata_types = std::tuple<CALLOUT_INVENTORY_PATH>;
5832};
5833
5834} // namespace Inventory
5835} // namespace openbmc_project
5836} // namespace xyz
5837
5838namespace details
5839{
5840
5841template <>
5842struct map_exception_type<
5843 sdbusplus::xyz::openbmc_project::Inventory::Error::Nonfunctional>
5844{
5845 using type = xyz::openbmc_project::Inventory::Nonfunctional;
5846};
5847
5848} // namespace details
5849
5850namespace xyz
5851{
5852namespace openbmc_project
5853{
5854namespace Time
5855{
5856namespace _NotAllowed
5857{
5858
5859struct OWNER
5860{
5861 /*
5862 * We can't use -fsanitize=undefined if we declare a
5863 * 'static constexpr auto str' member, so don't. Instead, open-code the
5864 * mako template lookups.
5865 */
5866 static constexpr auto str_short = "OWNER";
5867 using type = std::tuple<std::decay_t<decltype("OWNER=%s")>, const char*>;
5868 explicit constexpr OWNER(const char* a) : _entry(entry("OWNER=%s", a)){};
5869 type _entry;
5870};
5871struct SYNC_METHOD
5872{
5873 /*
5874 * We can't use -fsanitize=undefined if we declare a
5875 * 'static constexpr auto str' member, so don't. Instead, open-code the
5876 * mako template lookups.
5877 */
5878 static constexpr auto str_short = "SYNC_METHOD";
5879 using type =
5880 std::tuple<std::decay_t<decltype("SYNC_METHOD=%s")>, const char*>;
5881 explicit constexpr SYNC_METHOD(const char* a) :
5882 _entry(entry("SYNC_METHOD=%s", a)){};
5883 type _entry;
5884};
5885
5886} // namespace _NotAllowed
5887
5888struct NotAllowed
5889{
5890 static constexpr auto L = level::ERR;
5891 using OWNER = _NotAllowed::OWNER;
5892 using SYNC_METHOD = _NotAllowed::SYNC_METHOD;
5893 using REASON = xyz::openbmc_project::Common::NotAllowed::REASON;
5894 using metadata_types = std::tuple<OWNER, SYNC_METHOD, REASON>;
5895};
5896
5897} // namespace Time
5898} // namespace openbmc_project
5899} // namespace xyz
5900
5901namespace details
5902{
5903
5904template <>
5905struct map_exception_type<
5906 sdbusplus::xyz::openbmc_project::Time::Error::NotAllowed>
5907{
5908 using type = xyz::openbmc_project::Time::NotAllowed;
5909};
5910
5911} // namespace details
5912
5913namespace xyz
5914{
5915namespace openbmc_project
5916{
5917namespace Time
5918{
5919namespace _Failed
5920{
5921
5922struct REASON
5923{
5924 /*
5925 * We can't use -fsanitize=undefined if we declare a
5926 * 'static constexpr auto str' member, so don't. Instead, open-code the
5927 * mako template lookups.
5928 */
5929 static constexpr auto str_short = "REASON";
5930 using type = std::tuple<std::decay_t<decltype("REASON=%s")>, const char*>;
5931 explicit constexpr REASON(const char* a) : _entry(entry("REASON=%s", a)){};
5932 type _entry;
5933};
5934
5935} // namespace _Failed
5936
5937struct Failed
5938{
5939 static constexpr auto L = level::ERR;
5940 using REASON = _Failed::REASON;
5941 using metadata_types = std::tuple<REASON>;
5942};
5943
5944} // namespace Time
5945} // namespace openbmc_project
5946} // namespace xyz
5947
5948namespace details
5949{
5950
5951template <>
5952struct map_exception_type<sdbusplus::xyz::openbmc_project::Time::Error::Failed>
5953{
5954 using type = xyz::openbmc_project::Time::Failed;
5955};
5956
5957} // namespace details
5958
5959namespace xyz
5960{
5961namespace openbmc_project
5962{
5963namespace State
5964{
5965namespace BMC
5966{
5967namespace _MultiUserTargetFailure
5968{
5969
5970} // namespace _MultiUserTargetFailure
5971
5972struct MultiUserTargetFailure
5973{
5974 static constexpr auto L = level::ERR;
5975 using SYSTEMD_RESULT =
5976 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
5977 using metadata_types = std::tuple<SYSTEMD_RESULT>;
5978};
5979
5980} // namespace BMC
5981} // namespace State
5982} // namespace openbmc_project
5983} // namespace xyz
5984
5985namespace details
5986{
5987
5988template <>
5989struct map_exception_type<
5990 sdbusplus::xyz::openbmc_project::State::BMC::Error::MultiUserTargetFailure>
5991{
5992 using type = xyz::openbmc_project::State::BMC::MultiUserTargetFailure;
5993};
5994
5995} // namespace details
5996
5997namespace xyz
5998{
5999namespace openbmc_project
6000{
6001namespace State
6002{
6003namespace Chassis
6004{
6005namespace _PowerOnFailure
6006{
6007
6008} // namespace _PowerOnFailure
6009
6010struct PowerOnFailure
6011{
6012 static constexpr auto L = level::ERR;
6013 using SYSTEMD_RESULT =
6014 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6015 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6016};
6017
6018} // namespace Chassis
6019} // namespace State
6020} // namespace openbmc_project
6021} // namespace xyz
6022
6023namespace details
6024{
6025
6026template <>
6027struct map_exception_type<
6028 sdbusplus::xyz::openbmc_project::State::Chassis::Error::PowerOnFailure>
6029{
6030 using type = xyz::openbmc_project::State::Chassis::PowerOnFailure;
6031};
6032
6033} // namespace details
6034
6035namespace xyz
6036{
6037namespace openbmc_project
6038{
6039namespace State
6040{
6041namespace Chassis
6042{
6043namespace _PowerOffFailure
6044{
6045
6046} // namespace _PowerOffFailure
6047
6048struct PowerOffFailure
6049{
6050 static constexpr auto L = level::ERR;
6051 using SYSTEMD_RESULT =
6052 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6053 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6054};
6055
6056} // namespace Chassis
6057} // namespace State
6058} // namespace openbmc_project
6059} // namespace xyz
6060
6061namespace details
6062{
6063
6064template <>
6065struct map_exception_type<
6066 sdbusplus::xyz::openbmc_project::State::Chassis::Error::PowerOffFailure>
6067{
6068 using type = xyz::openbmc_project::State::Chassis::PowerOffFailure;
6069};
6070
6071} // namespace details
6072
6073namespace xyz
6074{
6075namespace openbmc_project
6076{
6077namespace State
6078{
6079namespace Host
6080{
6081namespace _HostStartFailure
6082{
6083
6084} // namespace _HostStartFailure
6085
6086struct HostStartFailure
6087{
6088 static constexpr auto L = level::ERR;
6089 using SYSTEMD_RESULT =
6090 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6091 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6092};
6093
6094} // namespace Host
6095} // namespace State
6096} // namespace openbmc_project
6097} // namespace xyz
6098
6099namespace details
6100{
6101
6102template <>
6103struct map_exception_type<
6104 sdbusplus::xyz::openbmc_project::State::Host::Error::HostStartFailure>
6105{
6106 using type = xyz::openbmc_project::State::Host::HostStartFailure;
6107};
6108
6109} // namespace details
6110
6111namespace xyz
6112{
6113namespace openbmc_project
6114{
6115namespace State
6116{
6117namespace Host
6118{
6119namespace _HostMinStartFailure
6120{
6121
6122} // namespace _HostMinStartFailure
6123
6124struct HostMinStartFailure
6125{
6126 static constexpr auto L = level::ERR;
6127 using SYSTEMD_RESULT =
6128 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6129 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6130};
6131
6132} // namespace Host
6133} // namespace State
6134} // namespace openbmc_project
6135} // namespace xyz
6136
6137namespace details
6138{
6139
6140template <>
6141struct map_exception_type<
6142 sdbusplus::xyz::openbmc_project::State::Host::Error::HostMinStartFailure>
6143{
6144 using type = xyz::openbmc_project::State::Host::HostMinStartFailure;
6145};
6146
6147} // namespace details
6148
6149namespace xyz
6150{
6151namespace openbmc_project
6152{
6153namespace State
6154{
6155namespace Host
6156{
6157namespace _HostShutdownFailure
6158{
6159
6160} // namespace _HostShutdownFailure
6161
6162struct HostShutdownFailure
6163{
6164 static constexpr auto L = level::ERR;
6165 using SYSTEMD_RESULT =
6166 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6167 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6168};
6169
6170} // namespace Host
6171} // namespace State
6172} // namespace openbmc_project
6173} // namespace xyz
6174
6175namespace details
6176{
6177
6178template <>
6179struct map_exception_type<
6180 sdbusplus::xyz::openbmc_project::State::Host::Error::HostShutdownFailure>
6181{
6182 using type = xyz::openbmc_project::State::Host::HostShutdownFailure;
6183};
6184
6185} // namespace details
6186
6187namespace xyz
6188{
6189namespace openbmc_project
6190{
6191namespace State
6192{
6193namespace Host
6194{
6195namespace _HostStopFailure
6196{
6197
6198} // namespace _HostStopFailure
6199
6200struct HostStopFailure
6201{
6202 static constexpr auto L = level::ERR;
6203 using SYSTEMD_RESULT =
6204 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6205 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6206};
6207
6208} // namespace Host
6209} // namespace State
6210} // namespace openbmc_project
6211} // namespace xyz
6212
6213namespace details
6214{
6215
6216template <>
6217struct map_exception_type<
6218 sdbusplus::xyz::openbmc_project::State::Host::Error::HostStopFailure>
6219{
6220 using type = xyz::openbmc_project::State::Host::HostStopFailure;
6221};
6222
6223} // namespace details
6224
6225namespace xyz
6226{
6227namespace openbmc_project
6228{
6229namespace State
6230{
6231namespace Host
6232{
6233namespace _HostRebootFailure
6234{
6235
6236} // namespace _HostRebootFailure
6237
6238struct HostRebootFailure
6239{
6240 static constexpr auto L = level::ERR;
6241 using SYSTEMD_RESULT =
6242 xyz::openbmc_project::State::SystemdTarget::Failure::SYSTEMD_RESULT;
6243 using metadata_types = std::tuple<SYSTEMD_RESULT>;
6244};
6245
6246} // namespace Host
6247} // namespace State
6248} // namespace openbmc_project
6249} // namespace xyz
6250
6251namespace details
6252{
6253
6254template <>
6255struct map_exception_type<
6256 sdbusplus::xyz::openbmc_project::State::Host::Error::HostRebootFailure>
6257{
6258 using type = xyz::openbmc_project::State::Host::HostRebootFailure;
Tom Joseph448e74e2017-07-24 23:08:56 +05306259};
6260
Patrick Venture0b02be92018-08-31 11:55:55 -07006261} // namespace details
Tom Joseph448e74e2017-07-24 23:08:56 +05306262
6263namespace example
6264{
6265namespace xyz
6266{
6267namespace openbmc_project
6268{
6269namespace Example
6270{
6271namespace Elog
6272{
6273namespace _TestErrorOne
6274{
6275
6276struct ERRNUM
6277{
Patrick Williamsdf329092021-09-08 16:05:08 -05006278 /*
6279 * We can't use -fsanitize=undefined if we declare a
6280 * 'static constexpr auto str' member, so don't. Instead, open-code the
6281 * mako template lookups.
6282 */
Tom Joseph448e74e2017-07-24 23:08:56 +05306283 static constexpr auto str_short = "ERRNUM";
Patrick Williamsdf329092021-09-08 16:05:08 -05006284 using type = std::tuple<std::decay_t<decltype("ERRNUM=0x%.4X")>, uint16_t>;
6285 explicit constexpr ERRNUM(uint16_t a) : _entry(entry("ERRNUM=0x%.4X", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05306286 type _entry;
6287};
6288struct FILE_PATH
6289{
Patrick Williamsdf329092021-09-08 16:05:08 -05006290 /*
6291 * We can't use -fsanitize=undefined if we declare a
6292 * 'static constexpr auto str' member, so don't. Instead, open-code the
6293 * mako template lookups.
6294 */
Tom Joseph448e74e2017-07-24 23:08:56 +05306295 static constexpr auto str_short = "FILE_PATH";
Patrick Williamsdf329092021-09-08 16:05:08 -05006296 using type =
6297 std::tuple<std::decay_t<decltype("FILE_PATH=%s")>, const char*>;
6298 explicit constexpr FILE_PATH(const char* a) :
6299 _entry(entry("FILE_PATH=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05306300 type _entry;
6301};
6302struct FILE_NAME
6303{
Patrick Williamsdf329092021-09-08 16:05:08 -05006304 /*
6305 * We can't use -fsanitize=undefined if we declare a
6306 * 'static constexpr auto str' member, so don't. Instead, open-code the
6307 * mako template lookups.
6308 */
Tom Joseph448e74e2017-07-24 23:08:56 +05306309 static constexpr auto str_short = "FILE_NAME";
Patrick Williamsdf329092021-09-08 16:05:08 -05006310 using type =
6311 std::tuple<std::decay_t<decltype("FILE_NAME=%s")>, const char*>;
6312 explicit constexpr FILE_NAME(const char* a) :
6313 _entry(entry("FILE_NAME=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05306314 type _entry;
6315};
6316
Patrick Venture0b02be92018-08-31 11:55:55 -07006317} // namespace _TestErrorOne
Tom Joseph448e74e2017-07-24 23:08:56 +05306318
6319struct TestErrorOne : public sdbusplus::exception_t
6320{
Patrick Venture0b02be92018-08-31 11:55:55 -07006321 static constexpr auto errName =
6322 "example.xyz.openbmc_project.Example.Elog.TestErrorOne";
Tom Joseph448e74e2017-07-24 23:08:56 +05306323 static constexpr auto errDesc = "this is test error one";
6324 static constexpr auto L = level::INFO;
6325 using ERRNUM = _TestErrorOne::ERRNUM;
6326 using FILE_PATH = _TestErrorOne::FILE_PATH;
6327 using FILE_NAME = _TestErrorOne::FILE_NAME;
Patrick Venture0b02be92018-08-31 11:55:55 -07006328 using DEV_ADDR =
6329 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_ADDR;
6330 using DEV_ID =
6331 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_ID;
6332 using DEV_NAME =
6333 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_NAME;
6334 using metadata_types =
6335 std::tuple<ERRNUM, FILE_PATH, FILE_NAME, DEV_ADDR, DEV_ID, DEV_NAME>;
Tom Joseph448e74e2017-07-24 23:08:56 +05306336
Patrick Williamsdf329092021-09-08 16:05:08 -05006337 const char* name() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306338 {
6339 return errName;
6340 }
6341
Patrick Williamsdf329092021-09-08 16:05:08 -05006342 const char* description() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306343 {
6344 return errDesc;
6345 }
6346
Patrick Williamsdf329092021-09-08 16:05:08 -05006347 const char* what() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306348 {
6349 return errName;
6350 }
Patrick Williamsdf329092021-09-08 16:05:08 -05006351
6352 int get_errno() const noexcept override
6353 {
6354 return EIO;
6355 }
Tom Joseph448e74e2017-07-24 23:08:56 +05306356};
6357
6358} // namespace Elog
6359} // namespace Example
6360} // namespace openbmc_project
6361} // namespace xyz
6362} // namespace example
6363
Tom Joseph448e74e2017-07-24 23:08:56 +05306364namespace example
6365{
6366namespace xyz
6367{
6368namespace openbmc_project
6369{
6370namespace Example
6371{
6372namespace Foo
6373{
6374namespace _Foo
6375{
6376
6377struct FOO_DATA
6378{
Patrick Williamsdf329092021-09-08 16:05:08 -05006379 /*
6380 * We can't use -fsanitize=undefined if we declare a
6381 * 'static constexpr auto str' member, so don't. Instead, open-code the
6382 * mako template lookups.
6383 */
Tom Joseph448e74e2017-07-24 23:08:56 +05306384 static constexpr auto str_short = "FOO_DATA";
Patrick Williamsdf329092021-09-08 16:05:08 -05006385 using type = std::tuple<std::decay_t<decltype("FOO_DATA=%s")>, const char*>;
6386 explicit constexpr FOO_DATA(const char* a) :
6387 _entry(entry("FOO_DATA=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05306388 type _entry;
6389};
6390
Patrick Venture0b02be92018-08-31 11:55:55 -07006391} // namespace _Foo
Tom Joseph448e74e2017-07-24 23:08:56 +05306392
6393struct Foo : public sdbusplus::exception_t
6394{
Patrick Venture0b02be92018-08-31 11:55:55 -07006395 static constexpr auto errName =
6396 "example.xyz.openbmc_project.Example.Foo.Foo";
Tom Joseph448e74e2017-07-24 23:08:56 +05306397 static constexpr auto errDesc = "this is test error Foo";
6398 static constexpr auto L = level::INFO;
6399 using FOO_DATA = _Foo::FOO_DATA;
Patrick Venture0b02be92018-08-31 11:55:55 -07006400 using ERRNUM =
6401 example::xyz::openbmc_project::Example::Elog::TestErrorOne::ERRNUM;
6402 using FILE_PATH =
6403 example::xyz::openbmc_project::Example::Elog::TestErrorOne::FILE_PATH;
6404 using FILE_NAME =
6405 example::xyz::openbmc_project::Example::Elog::TestErrorOne::FILE_NAME;
6406 using DEV_ADDR =
6407 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_ADDR;
6408 using DEV_ID =
6409 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_ID;
6410 using DEV_NAME =
6411 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_NAME;
6412 using metadata_types = std::tuple<FOO_DATA, ERRNUM, FILE_PATH, FILE_NAME,
6413 DEV_ADDR, DEV_ID, DEV_NAME>;
Tom Joseph448e74e2017-07-24 23:08:56 +05306414
Patrick Williamsdf329092021-09-08 16:05:08 -05006415 const char* name() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306416 {
6417 return errName;
6418 }
6419
Patrick Williamsdf329092021-09-08 16:05:08 -05006420 const char* description() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306421 {
6422 return errDesc;
6423 }
6424
Patrick Williamsdf329092021-09-08 16:05:08 -05006425 const char* what() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306426 {
6427 return errName;
6428 }
Patrick Williamsdf329092021-09-08 16:05:08 -05006429
6430 int get_errno() const noexcept override
6431 {
6432 return EIO;
6433 }
Tom Joseph448e74e2017-07-24 23:08:56 +05306434};
6435
6436} // namespace Foo
6437} // namespace Example
6438} // namespace openbmc_project
6439} // namespace xyz
6440} // namespace example
6441
Tom Joseph448e74e2017-07-24 23:08:56 +05306442namespace example
6443{
6444namespace xyz
6445{
6446namespace openbmc_project
6447{
6448namespace Example
6449{
6450namespace Bar
6451{
6452namespace _Bar
6453{
6454
6455struct BAR_DATA
6456{
Patrick Williamsdf329092021-09-08 16:05:08 -05006457 /*
6458 * We can't use -fsanitize=undefined if we declare a
6459 * 'static constexpr auto str' member, so don't. Instead, open-code the
6460 * mako template lookups.
6461 */
Tom Joseph448e74e2017-07-24 23:08:56 +05306462 static constexpr auto str_short = "BAR_DATA";
Patrick Williamsdf329092021-09-08 16:05:08 -05006463 using type = std::tuple<std::decay_t<decltype("BAR_DATA=%s")>, const char*>;
6464 explicit constexpr BAR_DATA(const char* a) :
6465 _entry(entry("BAR_DATA=%s", a)){};
Tom Joseph448e74e2017-07-24 23:08:56 +05306466 type _entry;
6467};
6468
Patrick Venture0b02be92018-08-31 11:55:55 -07006469} // namespace _Bar
Tom Joseph448e74e2017-07-24 23:08:56 +05306470
6471struct Bar : public sdbusplus::exception_t
6472{
Patrick Venture0b02be92018-08-31 11:55:55 -07006473 static constexpr auto errName =
6474 "example.xyz.openbmc_project.Example.Bar.Bar";
Tom Joseph448e74e2017-07-24 23:08:56 +05306475 static constexpr auto errDesc = "this is test error Bar";
6476 static constexpr auto L = level::INFO;
6477 using BAR_DATA = _Bar::BAR_DATA;
6478 using FOO_DATA = example::xyz::openbmc_project::Example::Foo::Foo::FOO_DATA;
Patrick Venture0b02be92018-08-31 11:55:55 -07006479 using ERRNUM =
6480 example::xyz::openbmc_project::Example::Elog::TestErrorOne::ERRNUM;
6481 using FILE_PATH =
6482 example::xyz::openbmc_project::Example::Elog::TestErrorOne::FILE_PATH;
6483 using FILE_NAME =
6484 example::xyz::openbmc_project::Example::Elog::TestErrorOne::FILE_NAME;
6485 using DEV_ADDR =
6486 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_ADDR;
6487 using DEV_ID =
6488 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_ID;
6489 using DEV_NAME =
6490 example::xyz::openbmc_project::Example::Elog::TestErrorTwo::DEV_NAME;
6491 using metadata_types = std::tuple<BAR_DATA, FOO_DATA, ERRNUM, FILE_PATH,
6492 FILE_NAME, DEV_ADDR, DEV_ID, DEV_NAME>;
Tom Joseph448e74e2017-07-24 23:08:56 +05306493
Patrick Williamsdf329092021-09-08 16:05:08 -05006494 const char* name() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306495 {
6496 return errName;
6497 }
6498
Patrick Williamsdf329092021-09-08 16:05:08 -05006499 const char* description() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306500 {
6501 return errDesc;
6502 }
6503
Patrick Williamsdf329092021-09-08 16:05:08 -05006504 const char* what() const noexcept override
Tom Joseph448e74e2017-07-24 23:08:56 +05306505 {
6506 return errName;
6507 }
Patrick Williamsdf329092021-09-08 16:05:08 -05006508
6509 int get_errno() const noexcept override
6510 {
6511 return EIO;
6512 }
Tom Joseph448e74e2017-07-24 23:08:56 +05306513};
6514
6515} // namespace Bar
6516} // namespace Example
6517} // namespace openbmc_project
6518} // namespace xyz
6519} // namespace example
6520
Tom Joseph448e74e2017-07-24 23:08:56 +05306521} // namespace logging
6522
6523} // namespace phosphor