Beispiel #1
0
        /// <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));
        }
Beispiel #2
0
 internal void AddStackFrame(StackFrame stackFrame)
 {
     WrenStackTrace.Add(stackFrame);
 }