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

Method Error

pkg/server/share.go:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (e *shareError) Error() string {
101 return fmt.Sprintf("share: %v (code=%v, type=%v)", e.message, e.code, e.response)
102}
103
104func unauthorized(code errorCode, format string, args ...interface{}) *shareError {
105 return &shareError{

Callers 15

ServeHTTPMethod · 0.45
ServeHTTPMethod · 0.45
serveRestartMethod · 0.45
writeToCacheFunction · 0.45
ServeHTTPMethod · 0.45
ServeHTTPMethod · 0.45
ServeHTTPMethod · 0.45
ServeFileMethod · 0.45
serveZipMethod · 0.45
ServeHTTPMethod · 0.45
serveDiscoveryMethod · 0.45
discoveryHelperFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestHandleGetViaSharingFunction · 0.36
TestRandListenFunction · 0.36
TestBaseURLFunction · 0.36
TestInstallHandlersFunction · 0.36