ajaxError event is not triggered by javascript errors

ajaxError event is not triggered by javascript errors

Hi Everybody! i've just noticed (after hours of bughunting), that jquery ajaxError event is not triggered by javascript errors, and i think it should be. So for example, when a Ajax success callback has an undefined function call or something, it just fails silently, instead of reporting the error into the firebug console.

Am I missing something here? Thanks.