private void ARRService_OnSessionErrorEncountered(ARRServiceUnity caller, SessionGeneralContext context) { Debug.LogError($"Session error encountered. Context: {context.ErrorMessage}. Request Cv: {context.RequestCorrelationVector}. Response Cv: {context.ResponseCorrelationVector}"); }
/// <summary>Creates a new instance of the <see cref='RRSessionException'/> class.</summary> /// <param name='code'>Error code for this exception.</param> public RRSessionException(SessionGeneralContext context) : base($"Operation returned \'{context.Result.ToString()}. {context.ErrorMessage}\'.") { this.Context = context; }