public void OnQueueError(string msg)
 {
     QueueError?.Invoke(msg);
 }