Description: Protobuf extensions for msg.proto.
 This provides methods which are part of the protocol buffer
 structures compiled from msg.pb.go but which are not part of the
 generated code.
Author: Tonnerre Lombard <tonnerre@ancient-solutions.com>
Forwarded: no
Last-Update: 2013-10-02

--- /dev/null
+++ b/msg.ext.go
@@ -0,0 +1,7 @@
+// Extensions to msg.pb.go which are not generated by the protobuf
+// compiler.
+package doozer
+
+func (x response_Err) Error() string {
+	return x.String()
+}
--- a/msg.pb.go
+++ b/msg.pb.go
@@ -130,9 +130,6 @@ func (x response_Err) Enum() *response_Err {
 func (x response_Err) String() string {
 	return proto.EnumName(response_Err_name, int32(x))
 }
-func (x response_Err) Error() string {
-	return x.String()
-}
 func (x response_Err) MarshalJSON() ([]byte, error) {
 	return json.Marshal(x.String())
 }
