mcavage/node-restify — pull request #139 by domenic (2012-05-10 20:23:20+00:00)
Title: Use `restCode` and `httpCode` instead of `statusCode`.

This avoids collisions with other frameworks that use `statusCode` for their custom errors, e.g. wantworthy/dynode. It is also more consistent with line 128.

We were passing dynode errors up through our chain of callbacks, and ended up sending the user 400 Bad Request when it was really us, internally, sending bad requests to Amazon.

This is somewhat of a breaking change :-/.