Can we handle Error Event by using External tasks? as third party program used to solve or log errors raised from error event.
You can use the failure rest API call to report a failure to execute an external task back to Camunda.
Documented here Handle External Task Failure