/// <param name="type"></param> /// <param name="module"></param> /// <param name="line"></param> /// <param name="message"></param> public WrenException(ErrorType type, string module, int line, string message) : base(message) { Type = type; Module = module; Line = line; WrenStackTrace.Add(new StackFrame(type, module, line, message)); }
internal void AddStackFrame(StackFrame stackFrame) { WrenStackTrace.Add(stackFrame); }