public RTParsingError(int startIndex, int endIndex, RTErrorCode errorCode, string errorMessage) { this._startIndex = startIndex; this._endIndex = endIndex; this._errorCode = errorCode; this._errorMessage = errorMessage; }
internal RTExecutionError(RTScope func, RTErrorCode errCode, string errMsg) : base(func.Creator.SourceStartIndex, func.Creator.SourceEndIndex, errCode, errMsg) { this.FunctionName = func.FunctionName; }