amazonwebservices/aws-sdk-for-php — pull request #26 by rynop (2012-04-20 15:05:18+00:00)
Title: Get the error code from the response

It is helpful to be able to get at the error code if request is not OK. Parse out error code strings per http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/ErrorHandling.html