MCPcopy Create free account
hub / github.com/brimdata/super / errorf

Method errorf

sup/parser.go:16–18  ·  view source on GitHub ↗
(msg string, args ...any)

Source from the content-addressed store, hash-verified

14}
15
16func (p *Parser) errorf(msg string, args ...any) error {
17 return p.error(fmt.Sprintf(msg, args...))
18}
19
20func (p *Parser) error(msg string) error {
21 return fmt.Errorf("line %d: parse error: %s", p.lexer.line, msg)

Callers 6

matchTypeFieldMethod · 0.95
matchTypeSetOrMapMethod · 0.95
matchTypeBodyMethod · 0.95
matchStringMethod · 0.95
matchFieldMethod · 0.95
matchSetOrMapMethod · 0.95

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected