An example of the XML of an error boundary events is:
<bpmn2:boundaryEvent id="BoundaryEvent2" attachedToRef="ServiceTask1"> <bpmn2:errorEventDefinition errorRef="Error_0vbkbeb" /> </bpmn2:boundaryEvent>
An example of the XML of an error is:
<bpmn2:error id="Error_0vbkbeb" name="payment-failed-error" errorCode="404" />