OnError can't trigger execution on IDE Ant developer tools?

there is an error in the onLaunch code because an is not defined:

   

that is, onError cannot trigger execution in IDE? What should I do if I need to test onError on IDE?

the IDE I use is 0.20.1 of Mac

Mar.22,2021
Menu