jed/dynamo-client — pull request #6 by mhart (2012-12-26 13:42:59+00:00)
Title: Parse and handle errors slightly better

We only need the part of the error type after the `#` according to
http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/ErrorHandling.html#HTTPError_Example_Response - plus it makes it easier to check for errors

Also, as per the fine print in http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries - "you should retry original requests that receive server errors (`5xx`). However, client errors (`4xx`, other than a `ThrottlingException` or a `ProvisionedThroughputExceededException`) indicate you need to revise the request itself to correct the problem before trying again"