Subj : Supressing errors? To : netscape.public.mozilla.jseng From : Brian Genisio Date : Fri Jan 30 2004 02:25 pm Hi all, I was wondering what the best way to supress specific errors are? I can think of couple ways to do it, but none are extremely keen in my book. Here is where I want to supress the error: When a non-numeric string is passed to JS_ValueToInt32, an error is reported, and it returns false. All I care about is that we return false. If I get false, I will use a default value, and move on. I would rather not print an error when I use the method in this way, but I dont know a _good_ way of detecting that we dont care about the error. Any ideas? Brian .