anchor.diff:  %% @private
   send(Frame, State = #s{sock = Sock}) ->
       case gen_tcp:send(Sock, restomp:encode(Frame)) of
  -        ok    -> {ok, State};
  -        Error -> {error, Error, State}
  +        ok    -> {noreply, State};
  +        Error -> {stop, Error, State}
       end.
  
positive.code:                [Cmd, Session],
                 State).
  
  %% @private
  send_error(Message, Format, Args, State) ->
      send_error(Message, lists:flatten(io_lib:format(Format, Args)), State).
  
negative.code:                ?CONTENT_TEXT,
                 ?VERSION_HEADER],
      case send_frame("ERROR", Headers, Detail, State) of
          {noreply, NewState} -> {stop, Message, NewState};
          Error               -> Error
      end.
  
  %% @private
  