Also document this.
I can define a BPMN Error Throw Event with an error message
Miklas Boskamp, please see the PR for the code review hints.
I also noticed that there is no documentation added for the feature. It should be added according to the ticket description.
Nikola Koevski, I added documentation and applied the changes you mentioned in the PR.