Dear @lizhensheng,
Could you give any example of actual examples of events/emergency events/ and expected event handling?
How about creating a separate node to deal with interrupts? Based on your requirement, you can keep the node in beginning of the graph or you can keep it middle of the graph(if the action has to be taken based on some node output results) and propagate the error state across the nodes and have them react accordingly.