MCPcopy
hub / github.com/kopia/kopia / notFoundError

Function notFoundError

internal/server/api_error.go:26–28  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

24}
25
26func notFoundError(message string) *apiError {
27 return &apiError{http.StatusNotFound, serverapi.ErrorNotFound, message}
28}
29
30func accessDeniedError() *apiError {
31 return &apiError{http.StatusForbidden, serverapi.ErrorAccessDenied, "access is denied"}

Callers 4

handleMountGetFunction · 0.85
handleMountDeleteFunction · 0.85
handleTaskInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected