Use a varint when sending the error_code.