Error transitions are activated by errors thrown by the source. If a flow element throws an error, outgoing error transitions are sorted by order, within the order they are sorted by error specificity if it is supported. Error transitions with conditions are matched before error transitions without conditions. The first transition to match error type and condition (if it is present) is activated.