boto/boto — pull request #411 by gtaylor (2011-11-17 22:20:15+00:00)
Title: Adding more granular error handling to boto.ses.

Raises more specific exceptions for the various SES errors. Since almost every error in SES shares HTTP error code 400, we have to get yucky and search for the common error messages in the XML response. We could probably parse the XML and check the tag, but I'm not really sure that'd get us much, other than slightly more complicated code.

Documentation for these new exceptions will be following in the future. Feel free to merge now or after. I'll write it either way.