anchor.diff:  load_rdb(Pid) when is_pid(Pid) ->
       rdb:load(Pid, ?RDB_FILE);
   load_rdb(_) ->
  -    throw("invalid pid to load rdb").
  +    {error, "invalid pid to load rdb"}.
   
   save_rdb(Data) when is_binary(Data) ->
       rdb:save(Data, ?RDB_FILE);
   save_rdb(_) ->
  -    throw("invalid rdb data").
  +    {error, "invalid rdb data"}.
   
   send_pkg(Sock, Pkt) when is_list(Pkt) ->
       gen_tcp:send(Sock, [Pkt] ++ ?CRLF);
  
positive.code: handle_cast(Msg, State) ->
      io:format("Generic cast: '~p' while in '~p'~n",[Msg, State]),
      {noreply, State}.
  
  %% Generic
  handle_call(Msg, From, State) ->
  
negative.code: repl(Sock) ->
      send_pkg(Sock, [<<"REPLCONF listening-port">>, ?SB, get_lport(Sock)]).
  
  sync(Sock) ->
      send_pkg(Sock, [<<"SYNC">>]).
  
  psync(Sock, RunId, Offset) ->
      send_pkg(Sock, [<<"PSYNC">>, ?SB, RunId, ?SB, Offset]).
  
  