public HandlebarsSyntaxError(string message, HandlebarsSyntaxErrorKind kind, int line, int column) : base(message, line, column) { Kind = kind; }
protected void ShouldRaiseError(string templateName, HandlebarsSyntaxErrorKind kind) { Assert.IsTrue(compiledCode[templateName].Item2.OfType <HandlebarsSyntaxError>().Any(x => x.Kind.Equals(kind))); }
public HandlebarsSyntaxError(string message, HandlebarsSyntaxErrorKind kind, int line, int column) : base(message, line, column) { Kind = kind; }