ADDED getError() which return a string with the intercepted error when a function (like listMethods()) return false
(Fixes #1)