docs: public ErrorEventDefinitionBuilder errorEventDefinition(String id) {
      ErrorEventDefinition errorEventDefinition = createEmptyErrorEventDefinition();
      if (id != null) {
        errorEventDefinition.setId(id);
      }
  
      element.getEventDefinitions().add(errorEventDefinition);
      return new ErrorEventDefinitionBuilder(modelInstance, errorEventDefinition);
    }