You can log AutoComplete errors to window.alert() by setting the showErrors property to 'alert'.
window.alert()
showErrors
'alert'
In this example we see an error when our custom ajaxOpts.url function did not return a string.
ajaxOpts.url