I created an EventSubProcess with a CatchAll ErrorStartEvent. My question is if the errorRef/errorCode is exposed as a variable? So I can use the code to dump it in a Mail Task message for example?
Same question for the message parameter when I throw a new BpmnError(errorCode, message) from a Java task?