MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Error

Method Error

pkg/filter/ql/error.go:127–132  ·  view source on GitHub ↗

Error returns the string representation of the error.

()

Source from the content-addressed store, hash-verified

125
126// Error returns the string representation of the error.
127func (e *ParseError) Error() string {
128 if e.Message != "" {
129 return fmt.Sprintf("%s at char %d", e.Message, e.Pos+1)
130 }
131 return render(e)
132}

Callers 15

runMethod · 0.45
handleMessageFunction · 0.45
FindHandlesMethod · 0.45
WriteMethod · 0.45
RemoveMethod · 0.45
FindHandlesMethod · 0.45
WriteMethod · 0.45
RemoveMethod · 0.45
AddThreadMethod · 0.45
AddModuleMethod · 0.45
RemoveThreadMethod · 0.45

Calls 1

renderFunction · 0.85

Tested by 14

handleMessageFunction · 0.36
TestParserFunction · 0.36
TestParseUnaryExprFunction · 0.36
TestParseSequenceFunction · 0.36
TestParseErrorFunction · 0.36
TestParseFunctionFunction · 0.36
InitializeMethod · 0.36
LoadModuleMethod · 0.36