Include error message element when triggering an after error event for #6