Mindscape.Raygun4Net.RaygunClient.StripWrapperExceptions C# (CSharp) Method

StripWrapperExceptions() private method

private StripWrapperExceptions ( Exception exception ) : Exception
exception Exception
return Exception
        private Exception StripWrapperExceptions(Exception exception)
        {
            if (exception != null && _wrapperExceptions.Any(wrapperException => exception.GetType() == wrapperException && exception.InnerException != null))
              {
            return StripWrapperExceptions(exception.InnerException);
              }

              return exception;
        }

Same methods

RaygunClient::StripWrapperExceptions ( Exception exception ) : IEnumerable