Good thought Luc. I too have started using this method; however, I use simple functions. But in that function I check to see if a variable value ($mysql_debug) is set to TRUE. If it is, then I automatically parse the error; otherwise I will just go on without showing any errors.
The $mysql_debug value is set in my config file.
Luc: what's your DB class look like, or any tips on where to find the best way to create one?
~Brett