Home
last modified time | relevance | path

Searched refs:ActionError (Results 1 – 24 of 24) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Daction_error.hpp35 class ActionError : public std::exception class
39 ActionError() = delete;
40 ActionError(const ActionError&) = default;
41 ActionError(ActionError&&) = default;
42 ActionError& operator=(const ActionError&) = default;
43 ActionError& operator=(ActionError&&) = default;
44 virtual ~ActionError() = default;
52 explicit ActionError(const Action& action, const std::string& error = "") : in ActionError() function in phosphor::power::regulators::ActionError
H A Dpmbus_write_vout_command_action.cpp61 std::throw_with_nested(ActionError(*this)); in execute()
65 std::throw_with_nested(ActionError(*this)); in execute()
69 std::throw_with_nested(ActionError(*this)); in execute()
142 throw ActionError(*this, "No volts value defined"); in getVoltsValue()
H A Dpmbus_read_sensor_action.cpp64 std::throw_with_nested(ActionError(*this)); in execute()
68 std::throw_with_nested(ActionError(*this)); in execute()
72 std::throw_with_nested(ActionError(*this)); in execute()
H A Dcompare_presence_action.cpp44 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_compare_byte_action.cpp49 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_write_bit_action.cpp57 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_compare_bit_action.cpp49 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_write_byte_action.cpp56 std::throw_with_nested(ActionError(*this)); in execute()
H A Dcompare_vpd_action.cpp43 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_compare_bytes_action.cpp55 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_write_bytes_action.cpp67 std::throw_with_nested(ActionError(*this)); in execute()
H A Di2c_capture_bytes_action.cpp49 std::throw_with_nested(ActionError(*this)); in execute()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Daction_error_tests.cpp28 ActionError error{action}; in TEST()
35 ActionError error{action, "Infinite loop"}; in TEST()
44 ActionError error{action, "Invalid rule ID"}; in TEST()
H A Dpmbus_write_vout_command_action_tests.cpp213 catch (const ActionError& e) in TEST()
285 catch (const ActionError& e) in TEST()
345 catch (const ActionError& e) in TEST()
411 catch (const ActionError& e) in TEST()
476 catch (const ActionError& e) in TEST()
540 catch (const ActionError& e) in TEST()
H A Di2c_write_bit_action_tests.cpp208 catch (const ActionError& e) in TEST()
268 catch (const ActionError& e) in TEST()
H A Di2c_write_byte_action_tests.cpp180 catch (const ActionError& e) in TEST()
234 catch (const ActionError& e) in TEST()
H A Dpmbus_read_sensor_action_tests.cpp285 catch (const ActionError& e) in TEST()
349 catch (const ActionError& e) in TEST()
408 catch (const ActionError& e) in TEST()
479 catch (const ActionError& e) in TEST()
H A Dcompare_presence_action_tests.cpp176 catch (const ActionError& e) in TEST()
H A Di2c_compare_bit_action_tests.cpp197 catch (const ActionError& e) in TEST()
H A Di2c_write_bytes_action_tests.cpp330 catch (const ActionError& e) in TEST()
391 catch (const ActionError& e) in TEST()
H A Dcompare_vpd_action_tests.cpp159 catch (const ActionError& e) in TEST()
H A Di2c_compare_byte_action_tests.cpp231 catch (const ActionError& e) in TEST()
H A Di2c_capture_bytes_action_tests.cpp237 catch (const ActionError& e) in TEST()
H A Di2c_compare_bytes_action_tests.cpp373 catch (const ActionError& e) in TEST()