canjs / can-zone

A context for tracking asynchronous activity in JavaScript applications.
https://v4.canjs.com/doc/can-zone.html
MIT License
92 stars 4 forks source link

Handle XHR errors #3

Closed matthewp closed 9 years ago

matthewp commented 9 years ago

This implements handling for XHR errors. Closes #1

justinbmeyer commented 9 years ago

Just to make sure I understand this ... this should not be for errors like 404s, but for errors in callbacks like onreadystatechange?

matthewp commented 9 years ago

It's for onerrors.

matthewp commented 9 years ago

I should handle errors in task code like onreadystatechange though, I'll add that.