Dear Zuluru,
Let me clarify that again.
Firstly I have problem using errors() , Debug Kit always complain that it’s undefined. And we now agreed that the method does not exist in ver 4.x. I have just tried to find which part of Book refer to that method, but could not, I am sorry If I messed up with Book version.
Secondly, another problem i had, when I use hasErrors(), it return False when there IS error, and True when there IS NOT .
Well, Today I have wrote some code just to test the second problem above, and it turn out that I am wrong.
My apology for wasting your time. I had bad day yesterday , messing my mind with the code logic. I got confused.