Wherever you find a statement that you jsf.ajax.addOnErrorare an error listener, this source is erroneous. The function addOnErroradds an error listener (i.e., a function that you define yourself and that is called whenever an error occurs in the JSF system).
This is straight from the JSF-2.2 spec, 13.3.6.2 :
jsf.ajax.addOnError JavaScript, , / Ajax. [P1-start-event] , JavaScript , 14-5 "". [P1-end]
, "errors" , . :
- httpError: == null request.status == undefined request.status < 200 request.status >= 300
- serverError: Ajax "error".
- malformedXML: Ajax .
- emptyResponse: Ajax.
JSF Ajax , . , , , , , , ( , , ).