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: connectjar.org.apache.http.conn.HttpHostConnectException: Connect to 192.168.30.4:8000 [/192.168.30.4] failed: Connection refused (Connection refused)
at connectjar.org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
at connectjar.org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)”
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???