statuscode and error callbacks

statuscode and error callbacks

I just want to query the behaviour of the new 1.5 ajax status codes. 

For example, what appears to be happening is that if I declare a handler for a 500 in statusCodes and also set an error handler, my 500 handler is never called, only my error handler is. If I remove the error handler and repeat, my 500 handler is called.

This is kind of backwards to what I'd expect, I would expect a specific http status code handler to override the success/error handlers. The success error handlers would only be called if I did not define a specific handler for the http code.

Does anyone have any more detail on this? Have I missed something?