This method can be used to provide instant error display in Callback methods and other AJAX handlers that display errors. Provided mainly to remove the need to declare even this simple one line function in every page. To override and still use onPageError as a function name simply declare a function onPageError on your own page - your function will override the library version.
o.onPageError(error)