YUI 2 often fails silently, e.g. when you expect the this
to be another object and call an unexisting method on it. Is there any way make errors "visible"?
To answer my own question. It's simple as this:
YAHOO.widget.Logger.enableBrowserConsole();
YAHOO.util.Event.throwErrors = true;