text/template/parse.Tree.errorf (method)

18 uses

	text/template/parse (current package)
		parse.go#L160: func (t *Tree) errorf(format string, args ...interface{}) {
		parse.go#L168: 	t.errorf("%s", err)
		parse.go#L199: 		t.errorf("%s%s", token, extra)
		parse.go#L201: 	t.errorf("unexpected %s in %s", token, context)
		parse.go#L260: 		t.errorf("template: multiple definition of template %q", t.Name)
		parse.go#L312: 			t.errorf("unexpected %s", n)
		parse.go#L334: 		t.errorf("unexpected %s in %s", end, context)
		parse.go#L353: 	t.errorf("unexpected EOF")
		parse.go#L438: 					t.errorf("range can only initialize variables")
		parse.go#L441: 			t.errorf("too many declarations in %s", context)
		parse.go#L467: 		t.errorf("missing value for %s", context)
		parse.go#L474: 			t.errorf("non executable command in pipeline stage %d", i+2)
		parse.go#L506: 			t.errorf("expected end; found %s", next)
		parse.go#L577: 		t.errorf("unexpected %s in %s", end, context)
		parse.go#L641: 		t.errorf("empty command")
		parse.go#L672: 			t.errorf("unexpected . after term %q", node.String())
		parse.go#L693: 			t.errorf("function %q not defined", token.val)
		parse.go#L752: 	t.errorf("undefined variable %q", v.Ident[0])