robokudo.utils.error_handling ============================= .. py:module:: robokudo.utils.error_handling Functions --------- .. autoapisummary:: robokudo.utils.error_handling.raise_to_blackboard robokudo.utils.error_handling.has_blackboard_exception robokudo.utils.error_handling.get_blackboard_exception robokudo.utils.error_handling.clear_blackboard_exception robokudo.utils.error_handling.catch_and_raise_to_blackboard Module Contents --------------- .. py:function:: raise_to_blackboard(exception) .. py:function:: has_blackboard_exception() .. py:function:: get_blackboard_exception() .. py:function:: clear_blackboard_exception() .. py:function:: catch_and_raise_to_blackboard(function) This decorator is used to catch exceptions in Annotators to place them into the blackboard. Mostly useful in analysis-engines that have a query-interface which should return a failure back to the action-server caller if one of the Annotators yields an exception. :param function: The update or compute method of the desired Annotator :return: py_trees.Status.FAILURE , if an exception has been catched or found in the Blackboard.