I am throwing a BPMN Error from a delegate. While throwing that error, I am passing a descriptive message with the error code (as constructor allows to provide message along with error code). I have an event based sub-process to catch that error. This process is supposed to take the message from error and put it in a log file.
I am not sure about how to retrieve the message from the error in the sub-process. So I would like get some input on how to accomplish that.
Thanks in advance,