AJAX or more specific MooTools Request.JSON error types? -


i'm trying myself overview errors can occur on request.json(). i've googled while there seems not overview them all. i've figured out 404 error occures if no such file available request on.

does have idea find them? think has not specific mootools errors, i'm looking ajax errors itself.

kind regards

well, ajax has no 'error codes'. ajax asynchronous request making server without refreshing page.

things can go wrong same things can go wrong on normal request. these instance http status codes: http://www.w3.org/protocols/rfc2616/rfc2616-sec10.html

some frameworks implement error codes or change of them. frameworks/libs (like mootools) have usefull onfailure() function passes in xhr object used dor request.

the 'error' code noet 'ajax' code http code.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -