MCPcopy
hub / github.com/perkeep/perkeep / Error

Method Error

pkg/search/expr.go:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (e parseExpError) Error() string {
45 return fmt.Sprintf("%s at position %d, token: %q %s", e.mesg, e.t.start, e.t.val, seeDocs)
46}
47
48func newParseExpError(mesg string, t token) error {
49 return parseExpError{mesg: mesg, t: t}

Callers 13

serveFilesMethod · 0.45
parseAtomMethod · 0.45
TestParseExpressionFunction · 0.45
doCheckingFunction · 0.45
TestDecodeFileInfoFunction · 0.45
testLimitDoesntDeadlockFunction · 0.45
serveWebSocketMethod · 0.45
TestDescribeRaceFunction · 0.45
TestKeywordsFunction · 0.45
TestParseWHExpressionFunction · 0.45
TestMatchEqualFunction · 0.45
TestMatchPrefixFunction · 0.45

Calls

no outgoing calls

Tested by 10

TestParseExpressionFunction · 0.36
doCheckingFunction · 0.36
TestDecodeFileInfoFunction · 0.36
testLimitDoesntDeadlockFunction · 0.36
TestDescribeRaceFunction · 0.36
TestKeywordsFunction · 0.36
TestParseWHExpressionFunction · 0.36
TestMatchEqualFunction · 0.36
TestMatchPrefixFunction · 0.36
TestLocationConstraintFunction · 0.36