So instead of newError({httpCode: 409}), we can do newError({httpCode: HTTP.Conflict});
Activity
GH-1: Constants for HTTP and REST error codes
mcavage commentedon Apr 26, 2011
Fixed - added both HTTP and REST error codes.