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

Method Error

internal/httputil/httputil.go:216–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214type ServerError string
215
216func (e ServerError) Error() string { return string(e) }
217func (ServerError) HTTPCode() int { return http.StatusInternalServerError }
218
219// MustGet returns a non-empty GET (or HEAD) parameter param and panics

Callers 5

ErrorRoutingFunction · 0.45
ServeHTTPMethod · 0.45
TestBasicAuthFunction · 0.45
checkSystemRootsFunction · 0.45
StaticResponderFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestBasicAuthFunction · 0.36