I usually translate request.status == 0
as being a connection failure.
However, I have found that Internet Explorer sometimes uses HTTP 12007.
What would you remend be the rules I use when deciding whether to tell the user "Internet Failure" vs just telling them "HTTP Status Code x"?
Is 12007 the only code for this sort of thing? (besides zero)
I usually translate request.status == 0
as being a connection failure.
However, I have found that Internet Explorer sometimes uses HTTP 12007.
What would you remend be the rules I use when deciding whether to tell the user "Internet Failure" vs just telling them "HTTP Status Code x"?
Is 12007 the only code for this sort of thing? (besides zero)
Share Improve this question asked Jan 3, 2012 at 19:34 700 Software700 Software 88k88 gold badges242 silver badges347 bronze badges1 Answer
Reset to default 7status
values above 12000 e from Windows and tell you, that the HTTP request itself failed (ie. there never was a request).
You can find a list of these error messages here.