Oops : My Bad
You are right.

I should have atleast looked in my code
Any exapmple? . or piece of code on how to use the HH_GET_LAST_ERROR