seancribbs/ripple — Issue #234: ProtobuffsFailedRequest takes a code but its not available from the object
Author: eliaslevy
Created: 2011-10-29 22:45:03+00:00
State: open

ProtobuffsFailedRequest takes an error code as an argument, but the code is not available from the object, as its not used by the FailedRequest base class.

Similarly the message is passed as the :body argument to the parent, but the parent those not use it or store it.

Presumably the code for managing the error code and original message where going to be moved from the HTTPFailedRequest class to its parent the FailedRequest class, so that these would be available to both HTTPFailedRequest and ProtobuffsFailedRequest.