Implement HandleError event with ErrorAction field