internal ElaCodeException(string message, ElaRuntimeError error, ModuleFileInfo file, int line, int col, IEnumerable <CallFrame> callStack, ElaError errObj, Exception innerException) : base(message, innerException) { Error = new ElaMessage(message, MessageType.Error, (Int32)error, line, col); Error.File = file; CallStack = callStack; ErrorObject = errObj; }
internal ElaCodeException(string message, ElaRuntimeError error, FileInfo file, int line, int col, IEnumerable<CallFrame> callStack, ElaError errObj, Exception innerException) : base(message, innerException) { Error = new ElaMessage(message, MessageType.Error, (Int32)error, line, col); Error.File = file; CallStack = callStack; ErrorObject = errObj; }