Hi, reading over various posts and trying stuff out. However, I still haven't had success attaching a global error handler for my ajax calls.

I read through
http://www.sencha.com/forum/showthread.php?140693-Global-exception-handling-for-data-requests

in Ext.application{ lauch block:
Ext.util.Observable.observe(Ext.data.Connection);
Ext.data.Connection.on('requestexception', function(dataconn, response, options){

but getting script error

I'm a bit lost. Any help greatly appreciated.