update exceptions with new error codes #32
update exceptions with new error codes #32

Adds new error codes listed on
https://developer.twitter.com/en/docs/basics/response-codes.

Now error codes inherit from the exception for the status code, this
should prevent code that relied on the status code exception from
breaking with the next release but the order of the except clauses will
matter (status code error should probably be catched after error codes
exceptions).

I should probably have done this a long time ago, because now this could
also break some existing code.

Will probably bump the major version number after this change in hope
that it raises some eyebrows for someone that would see the update and
wonder what changed.

odrling/peony-twitter