MCPcopy Create free account
hub / github.com/CloudyKit/jet / error

Method error

parse.go:152–154  ·  view source on GitHub ↗

error terminates processing.

(err error)

Source from the content-addressed store, hash-verified

150
151// error terminates processing.
152func (t *Template) error(err error) {
153 t.errorf("%s", err)
154}
155
156// expect consumes the next token and guarantees it has the required type.
157func (t *Template) expect(expectedType itemType, context, expected string) item {

Callers 3

expectStringMethod · 0.95
parseTemplateMethod · 0.95
termMethod · 0.95

Calls 1

errorfMethod · 0.95

Tested by

no test coverage detected