I need to catch this error…
Error #2044: Unhandled StatusEvent:. level=error, code=
but I cannot get it to work, so far I have tried…
try{Phone.send(st,“die”);} catch(error:Error){trace(“error received”); stop();}
and…
try{Phone.send(st,“die”);} catch(error:StatusEvent){trace(“error received”); stop();}
and…
try{Phone.send(st,“die”);} catch(error:*){trace(“error received”); stop();}
catch seems to work on all my other types of errors fine. Why can’t I get this one to work right? Thanks!