anaconda icon indicating copy to clipboard operation
anaconda copied to clipboard

Add a specific type to represent errors (implementing error interface, of course)

Open ChimeraCoder opened this issue 11 years ago • 0 comments

Right now error handling is pretty basic, but a dedicated error type would help applications that want to take different actions based on the specific error received (ie, to slow down when a 'Rate limit exceeded' error is encountered, versus a 'Sorry, that page does not exist" error.

(Even when we implement rate limiting as in #1, this will still be needed because we can't be sure that the same credentials aren't being used by some other application simultaneously).

ChimeraCoder avatar Mar 08 '13 19:03 ChimeraCoder