An example of the XML of an error start event is:
<bpmn2:startEvent id="StartEvent3"> <bpmn2:errorEventDefinition errorRef="Error_0vbkbeb" /> </bpmn2:startEvent>
An example of the XML of an error is:
<bpmn2:error id="Error_0vbkbeb" name="payment-failed-error" errorCode="404" />
The errorRef property in the errorEventDefinition of an error event element will match against the id of an error when viewing the XML Editor.