MCPcopy Index your code
hub / github.com/mudler/LocalAI / Error

Method Error

pkg/mcp/localaitools/httpapi/client.go:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (e *HTTPError) Error() string {
60 return fmt.Sprintf("%s %s: %d %s: %s", e.Method, e.Path, e.StatusCode, http.StatusText(e.StatusCode), strings.TrimSpace(e.Body))
61}
62
63// ErrHTTPNotFound is the sentinel for "the resource you asked for doesn't
64// exist". Match it via errors.Is on an *HTTPError.

Callers 15

checkIsLoadedMethod · 0.45
isConnectionErrorFunction · 0.45
EnforceLRULimitMethod · 0.45
checkIdleMethod · 0.45
checkBusyMethod · 0.45
evictLRUModelMethod · 0.45
deleteProcessMethod · 0.45
startProcessMethod · 0.45
spawnGRPCModelMethod · 0.45
backendLoaderMethod · 0.45
LoadMethod · 0.45

Calls

no outgoing calls

Tested by 1

fakeLocalAIFunction · 0.36