[Gambas-user] Re; Error handling

Gareth Bult gareth at ...1689...
Thu Jul 19 14:23:10 CEST 2007


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. 

-- 
Gareth Bult, Encryptec Limited 
Tel: 0845 25 77033, Mob: 07891 389657 
Email: gareth at ...1689... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. 



More information about the User mailing list