[Gambas-user] Re; Error handling

Benoit Minisini gambas at ...1...
Thu Jul 19 14:55:32 CEST 2007


On jeudi 19 juillet 2007, Gareth Bult wrote:
> Hi, (me again!)
>
> I'm trying to do some database error trapping .. it seems that Error.Text
> is very reliable .. However "Error.Code" always seems to return "-1" ..
> (for example if the database connection has "gone away")
>
> Is this normal ?
> Is there another variable that holds the real error code ?
>
> tia
> Gareth.

There is no error code for components, only for the native language.

Regards,

-- 
Benoit Minisini




More information about the User mailing list