anchor.diff:      end.
   
   error_info(
  -  Class, Reason, Stacktrace, Debug,
  +  Class, Reason, Stacktrace,
     #{name := Name, callback_mode := CallbackMode},
     Q, P, FmtData) ->
       {FixedReason,FixedStacktrace} =
  
positive.code:     %%
      try
  	case CallbackMode of
  	    state_functions ->
  		Module:State(Type, Content, Data);
  	    handle_event_function ->
  		Module:handle_event(Type, Content, State, Data)
  	end of
  	Result ->
  	    loop_event_result(
  	      Parent, Debug, S, Events, State, Data, P, Event, Result)
      catch
  	Result ->
  	    loop_event_result(
  	      Parent, Debug, S, Events, State, Data, P, Event, Result);
  	error:badarg when CallbackMode =:= state_functions ->
  	    case erlang:get_stacktrace() of
  		[{erlang,apply,[Module,State,_],_}|Stacktrace] ->
  		    Args = [Type,Content,Data],
  		    terminate(
  		      error,
  		      {undef_state_function,{Module,State,Args}},
  
negative.code: 	{shutdown,_} -> ok;
  	_ ->
  	    error_info(
  	      Class, Reason, Stacktrace, S, Q, P,
  	      format_status(terminate, get(), S, State, Data)),
  	    sys:print_log(Debug)
      end,
      case Stacktrace of
  	[] ->
  