MCPcopy
hub / github.com/wavetermdev/waveterm / Error

Method Error

pkg/ijson/ijson.go:103–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (e PathError) Error() string {
104 return "PathError: " + e.Err
105}
106
107func MakePathTypeError(path Path, index int) error {
108 return PathError{fmt.Sprintf("invalid path element type:%T at index:%d (%s)", path[index], index, FormatPath(path))}

Callers 15

unregisterRpcMethod · 0.45
SendResponseErrorMethod · 0.45
handleNoRouteMethod · 0.45
ConnectMethod · 0.45
waitForDisconnectMethod · 0.45
SetWshErrorMethod · 0.45
readConfigHelperFunction · 0.45
convertReturnValuesFunction · 0.45
webErrorRtnFunction · 0.45
handleBuildErrorMethod · 0.45

Calls

no outgoing calls

Tested by 11

TestErrorFunction · 0.36
TestBrokerErrorFunction · 0.36
TestReadDirOnFileFunction · 0.36
TestReadDirMaxEntriesFunction · 0.36
TestParseReadDirInputFunction · 0.36