Incident errorDetails Java API

Hi folks!

What’s the expected way to access incident’s ‘errorDetails’ field (reported in /externalTask/failure and stored in act_ge_bytearray) from Camunda Java API?

Checked Incident entity API - found nothing related.

Thanks in advance.

Found solution:

externalTaskService.getExternalTaskErrorDetails(incidentEvent.getConfiguration())