public void NoticeError(string message, IDictionary <string, string> customAttributes, bool isExpected)
        {
            message = message ?? throw new ArgumentNullException(nameof(message));

            using (new IgnoreWork())
            {
                var transaction = TryGetCurrentInternalTransaction();
                if (IsErrorMessageIgnored(message))
                {
                    return;
                }
                var errorData = _errorService.FromMessage(message, customAttributes, isExpected);
                ProcessNoticedError(errorData, transaction);
            }
        }