Exemple #1
0
        public static void SetCreatedAndRejectedStacktrace(IRejectValueContainer unhandledException, int rejectSkipFrames, ITraceable traceable)
        {
            StackTrace stackTrace = rejectSkipFrames > 0 & Promise.Config.DebugCausalityTracer != Promise.TraceLevel.None
                ? GetStackTrace(rejectSkipFrames + 1)
                : null;

            unhandledException.SetCreatedAndRejectedStacktrace(stackTrace, traceable.Trace);
        }
Exemple #2
0
 static partial void _SetCreatedAndRejectedStacktrace(IRejectValueContainer unhandledException, int rejectSkipFrames, ITraceable traceable)
 {
     SetCreatedAndRejectedStacktrace(unhandledException, rejectSkipFrames + 1, traceable);
 }