[Gambas-user] Error.Text in Application_Error()?

Benoît Minisini gambas at ...1...
Sun Feb 1 17:02:47 CET 2015


Le 01/02/2015 01:17, Tobias Boege a écrit :
> Hi,
>
> is the Error.Text property supposed to be empty in Application_Error()? The
> attached script exhibits this behaviour. I'm not sure if it was always this
> way...
>
> Regards,
> Tobi
>

It was not always that way, but that was a bug. The Error class cannot 
be both the current error status of the function and the last uncatched 
error.

Gambas needs a real object to store the error information, but it can't 
be done without breaking the compatibility. :-(

-- 
Benoît Minisini




More information about the User mailing list