HTCL-02007 Unable to execute HTTP request - Shown as an error message

Hi comunity!
I’m using the BPMN form in Camunda, where I use “http-connector”. I just what to know how can I gett an error code, when for example, the http is not reachable? Now the service task is going into an Incident with a message: “HTCL-02007 Unable to execute HTTP request”.
A part of the incident message that I receive is the following:
“Caused by: Connect to [/] failed: Connection refused (Connection refused)
How can I receive instead of an incident, an error Status code, so I can link it to an “error boundary event” and I can show an error message?
I saw a lot of topic about this, but noting with a exact answer… So, I assume that in the meanwhile the service task is updated and I can recieve the answer that I need???