chr
2026-04-05 fe750b791d5b517cc4e9bc8e99a9a75139a0cfba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
 
namespace OpenTap
{
    /// <summary>
    /// Used to rethrow, adding more exception info but without generating a lot of extra stack lines.
    /// </summary>
    class ExceptionCustomStackTrace : Exception
    {
        public ExceptionCustomStackTrace(string message, string stackTrace, Exception innerException = null)
            : base(message, innerException)
        {
            StackTrace = stackTrace;
        }
 
        public override string StackTrace { get; }
    }
}