Home
last modified time | relevance | path

Searched hist:"0414 f0ecbaff959001a705a52d9811e4b5bf7290" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Dexception_utils.hppdiff 0414f0ecbaff959001a705a52d9811e4b5bf7290 Wed Mar 17 16:36:03 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Enhance exception utilities

Implement function that finds all exceptions within a nested exception
and returns them in a vector.

This function makes it easier to handle nested exceptions. You can
iterate over them in a simple loop instead of writing recursive code.

The new function exists in the exception_utils namespace.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I36b135584ec6024625a572bbe0522643406245cd
H A Dexception_utils.cppdiff 0414f0ecbaff959001a705a52d9811e4b5bf7290 Wed Mar 17 16:36:03 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Enhance exception utilities

Implement function that finds all exceptions within a nested exception
and returns them in a vector.

This function makes it easier to handle nested exceptions. You can
iterate over them in a simple loop instead of writing recursive code.

The new function exists in the exception_utils namespace.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I36b135584ec6024625a572bbe0522643406245cd
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dexception_utils_tests.cppdiff 0414f0ecbaff959001a705a52d9811e4b5bf7290 Wed Mar 17 16:36:03 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Enhance exception utilities

Implement function that finds all exceptions within a nested exception
and returns them in a vector.

This function makes it easier to handle nested exceptions. You can
iterate over them in a simple loop instead of writing recursive code.

The new function exists in the exception_utils namespace.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I36b135584ec6024625a572bbe0522643406245cd