public static PermittedErrorInfo Add(string message, string stacktrace = "", bool regExp = false)
        {
            PermittedErrorInfo errorInfo = new PermittedErrorInfo(message, regExp, stacktrace);

            errorsInfos.Add(errorInfo);
            return(errorInfo);
        }
 public static void Remove(PermittedErrorInfo error)
 {
     errorsInfos.Remove(error);
 }