BpmnError and execution listener

I’m a little unclear on expected behavior in this scenario so thought I’d ask. Service task throws a BpmnError. We have a subprocess error handler that intercepts all boundary errors generated from our service tasks and processes our off-ramp logic when automation fails. The issue is when an execution listener is attached to a service task. The execution listener is called even when the associated service task throws a BpmnError. I have not confirmed if our error handler is bypassed. I’d like to know if there is way from the execution listener to know whether a BpmnError was thrown from the service task it attached to in our model. Thanks.