anchor.diff:  %%                                      {stop, Reason, State}
   %% Description: Handling cast messages
   %%--------------------------------------------------------------------
  -handle_cast(check_errors, _State=#state{errors=Errors}) ->
  -      case Errors of 
  -		[] ->
  -		     ok; 
  -		_ ->
  -		    io:format("\n===============================WARNING===============================\n"),
  -		    io:format("Due to the following syntactical errors in the program, attributes/functions affected "
  -			      "by these errors were not affected by this refactoring!\n"),
  -		    lists:foreach(fun({FileName, Errs}) ->
  -				      Errs1 = lists:map(fun({Pos, _Mod, Msg}) -> {Pos, Msg} end, Errs),
  -				      io:format("File:\n ~p\n", [FileName]),
  -				      io:format("Error(s):\n"),
  -				      lists:foreach(fun({Pos, Msg}) -> io:format(" ** ~p:~s **\n", [Pos, Msg]) end, lists:reverse(Errs1)) %% lists:flatten(Msg)
  -			      end, Errors)
  -      end,
  -     {noreply, #state{}};
   handle_cast({add, Error}, _State=#state{errors=Errors}) ->
       {noreply, #state{errors=lists:usort([Error|Errors])}}.
   
  
positive.code: %%                                      {stop, Reason, State}
  %% Description: Handling call messages
  %%--------------------------------------------------------------------
  handle_call(_Request, _From, State) ->
      Reply = ok,
      {reply, Reply, State}.
  
  %%--------------------------------------------------------------------
  %% Function: handle_cast(Msg, State) -> {noreply, State} |
  
negative.code: start_wrangler_error_logger() ->
      gen_server:start_link({local, wrangler_error_logger}, ?MODULE, [], []).
  
  get_logged_errors() ->
      gen_server:call(wrangler_error_logger, get_errors).
      
  
  add_error_to_logger(Error) ->
      gen_server:cast(wrangler_error_logger, {add, Error}).
  