Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/phosphor-power/phosphor-regulators/test/
H A Derror_history_tests.cpp22 TEST(ErrorHistoryTests, ErrorType) in TEST() argument
24 EXPECT_EQ(static_cast<int>(ErrorType::internal), 3); in TEST()
25 EXPECT_EQ(static_cast<int>(ErrorType::numTypes), 8); in TEST()
31 EXPECT_FALSE(history.wasLogged(ErrorType::configFile)); in TEST()
32 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
33 EXPECT_FALSE(history.wasLogged(ErrorType::i2c)); in TEST()
34 EXPECT_FALSE(history.wasLogged(ErrorType::internal)); in TEST()
35 EXPECT_FALSE(history.wasLogged(ErrorType::pmbus)); in TEST()
36 EXPECT_FALSE(history.wasLogged(ErrorType::writeVerification)); in TEST()
37 EXPECT_FALSE(history.wasLogged(ErrorType::phaseFaultN)); in TEST()
[all …]
H A Dphase_fault_tests.cpp25 EXPECT_EQ(toErrorType(PhaseFaultType::n), ErrorType::phaseFaultN); in TEST()
27 ErrorType::phaseFaultNPlus1); in TEST()
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dexceptions.hpp80 types::ErrorType getErrorType() const in getErrorType()
82 return types::ErrorType::EccCheckFailed; in getErrorType()
115 types::ErrorType getErrorType() const in getErrorType()
117 return types::ErrorType::InvalidVpdMessage; in getErrorType()
155 types::ErrorType getErrorType() const in getErrorType()
157 return types::ErrorType::JsonFailure; in getErrorType()
194 types::ErrorType getErrorType() const in getErrorType()
196 return types::ErrorType::GpioError; in getErrorType()
228 types::ErrorType getErrorType() const in getErrorType()
230 return types::ErrorType::DbusFailure; in getErrorType()
[all …]
H A Devent_logger.hpp31 static types::ErrorType getErrorType(const std::exception& i_exception);
72 const types::ErrorType& i_errorType,
96 const types::ErrorType i_errorType,
118 const types::ErrorType i_errorType,
144 const types::ErrorType& i_errorType,
173 const types::ErrorType& i_errorType,
196 static const std::unordered_map<types::ErrorType, std::string>
H A Dtypes.hpp174 enum ErrorType enum
194 using ExceptionInfoVariant = std::variant<std::monostate, ErrorType, std::string>;
/openbmc/telemetry/src/types/
H A Derror_type.hpp12 enum class ErrorType : uint32_t enum
21 struct EnumTraits<ErrorType>
27 std::array{std::make_pair<std::string_view, ErrorType>(
28 "PropertyConflict", ErrorType::propertyConflict)};
30 inline ErrorType toErrorType(std::underlying_type_t<ErrorType> value) in toErrorType()
32 return toEnum<ErrorType, minEnumValue(convDataErrorType), in toErrorType()
36 inline ErrorType toErrorType(const std::string& value) in toErrorType()
41 inline std::string enumToString(ErrorType value) in enumToString()
H A Derror_message.hpp9 ErrorType error;
12 ErrorMessage(ErrorType errorIn, std::string_view arg0In) : in ErrorMessage()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Devent_logger.cpp29 const std::unordered_map<types::ErrorType, std::string>
31 {types::ErrorType::DefaultValue, "com.ibm.VPD.Error.DefaultValue"},
32 {types::ErrorType::InvalidVpdMessage, "com.ibm.VPD.Error.InvalidVPD"},
33 {types::ErrorType::VpdMismatch, "com.ibm.VPD.Error.Mismatch"},
34 {types::ErrorType::InvalidEeprom,
36 {types::ErrorType::EccCheckFailed, "com.ibm.VPD.Error.EccCheckFailed"},
37 {types::ErrorType::JsonFailure, "com.ibm.VPD.Error.InvalidJson"},
38 {types::ErrorType::DbusFailure, "com.ibm.VPD.Error.DbusFailure"},
39 {types::ErrorType::InvalidSystem,
41 {types::ErrorType::EssentialFru,
[all …]
H A Dparser.cpp88 types::ErrorType::DbusFailure, in updateVpdKeyword()
227 types::ErrorType::DbusFailure, types::SeverityType::Critical, in updateVpdKeyword()
254 types::ErrorType::InvalidVpdMessage, in updateVpdKeywordOnRedundantPath()
292 types::ErrorType::DbusFailure, in updateVpdKeywordOnHardware()
309 types::ErrorType l_errorType; in updateVpdKeywordOnHardware()
313 l_errorType = types::ErrorType::EccCheckFailed; in updateVpdKeywordOnHardware()
317 l_errorType = types::ErrorType::InvalidVpdMessage; in updateVpdKeywordOnHardware()
332 types::ErrorType::DbusFailure, types::SeverityType::Critical, in updateVpdKeywordOnHardware()
H A Dmanager_main.cpp56 vpd::types::ErrorType::JsonFailure, in main()
66 vpd::types::ErrorType::GpioError, in main()
76 vpd::types::ErrorType::DbusFailure, in main()
86 vpd::types::ErrorType::InvalidVpdMessage, in main()
H A Dbackup_restore.cpp372 types::ErrorType::VpdMismatch, types::SeverityType::Warning, in backupAndRestoreIpzVpd()
385 types::ErrorType::DefaultValue, types::SeverityType::Error, in backupAndRestoreIpzVpd()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dphase_fault.hpp63 inline ErrorType toErrorType(PhaseFaultType type) in toErrorType()
65 ErrorType errorType{ErrorType::phaseFaultN}; in toErrorType()
69 errorType = ErrorType::phaseFaultN; in toErrorType()
72 errorType = ErrorType::phaseFaultNPlus1; in toErrorType()
H A Derror_logging_utils.cpp56 ErrorType errorType{}; in logError()
63 errorType = ErrorType::configFile; in logError()
72 errorType = ErrorType::pmbus; in logError()
81 errorType = ErrorType::writeVerification; in logError()
91 errorType = ErrorType::i2c; in logError()
101 errorType = ErrorType::dbus; in logError()
110 errorType = ErrorType::internal; in logError()
119 errorType = ErrorType::internal; in logError()
H A Derror_history.hpp31 enum class ErrorType enum
79 void setWasLogged(ErrorType errorType, bool wasLogged) in setWasLogged()
91 bool wasLogged(ErrorType errorType) const in wasLogged()
108 std::bitset<static_cast<int>(ErrorType::numTypes)> history{};
H A Dphase_fault_detection.cpp91 ErrorType errorType = toErrorType(faultType); in checkForPhaseFault()
/openbmc/libcper/sections/
H A Dcper-section-ia32x64.c128 guid_to_string(error_type, &error_info->ErrorType); in cper_ia32x64_processor_error_info_to_ir()
135 if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
138 } else if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
141 } else if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
144 } else if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
160 if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
162 guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
167 } else if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
172 } else if (guid_equal(&error_info->ErrorType, in cper_ia32x64_processor_error_info_to_ir()
388 ms_check->ErrorType, 4, in cper_ia32x64_ms_check_to_ir()
[all …]
H A Dcper-section-firmware.c22 firmware_error->ErrorType, 3, FIRMWARE_ERROR_RECORD_TYPES_KEYS, in cper_section_firmware_to_ir()
50 section_cper->ErrorType = readable_pair_to_integer( in ir_section_firmware_to_cper()
H A Dcper-section-nvidia.c32 json_object_new_int(nvidia_error->ErrorType)); in cper_section_nvidia_to_ir()
79 section_cper->ErrorType = json_object_get_int( in ir_section_nvidia_to_cper()
H A Dcper-section-generic.c51 section_generic->ErrorType, in cper_section_generic_to_ir()
157 section_cper->ErrorType = (UINT8)readable_pair_to_integer(obj); in ir_section_generic_to_cper()
H A Dcper-section-memory.c51 memory_error->ErrorType, 16, MEMORY_ERROR_TYPES_KEYS, in cper_section_platform_memory_to_ir()
377 section_cper->ErrorType = (UINT8)readable_pair_to_integer(obj); in ir_section_memory_to_cper()
/openbmc/phosphor-debug-collector/
H A Ddump_types.hpp.mako25 using ErrorType = std::string;
28 using ErrorMap = std::unordered_map<ErrorType, ErrorList>;
120 std::optional<ErrorType> findErrorType(const std::string& errString);
H A Delog_watch.cpp132 CreateParameters::ErrorType)] = errorType; in addCallback()
H A Ddump_types.cpp.mako116 std::optional<ErrorType> findErrorType(const std::string& errString)
/openbmc/libcper/include/libcper/
H A DCper.h358 UINT8 ErrorType; member
631 UINT64 ErrorType : 3; member
666 EFI_GUID ErrorType; member
942 UINT8 ErrorType; member
1194 UINT8 ErrorType; member
1353 UINT16 ErrorType; member
/openbmc/pldm/oem/ampere/event/
H A Dcper.cpp91 if (mem->ErrorType == MEM_ERROR_TYPE_PARITY) in decodeSecPlatformMemory()

12