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); }
static partial void _SetCreatedAndRejectedStacktrace(IRejectValueContainer unhandledException, int rejectSkipFrames, ITraceable traceable) { SetCreatedAndRejectedStacktrace(unhandledException, rejectSkipFrames + 1, traceable); }