public void AddException(Exception exception)
        {
            var pooled = VisitEvent.GetPooled();

            pooled.Type    = VisitEventType.Exception;
            pooled.Payload = exception;
            m_Events.Add(pooled);
        }
        public void AddError(string message)
        {
            var pooled = VisitEvent.GetPooled();

            pooled.Type    = VisitEventType.Error;
            pooled.Payload = message;
            m_Events.Add(pooled);
        }