doctrine/couchdb-odm — pull request #39 by lucifurious (2011-12-31 19:39:29+00:00)
Title: Set code of HTTPException to HTTP response received

I found it odd that the Exception code wasn't being set.

One shouldn't be forced to parse a string to find out the nature of an exception. Especially if you're going to generate exceptions on 404s when dealing with CouchDB.