MCPcopy
hub / github.com/kopia/kopia / accessDeniedError

Function accessDeniedError

internal/server/api_error.go:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func accessDeniedError() *apiError {
31 return &apiError{http.StatusForbidden, serverapi.ErrorAccessDenied, "access is denied"}
32}
33
34func repositoryNotWritableError() *apiError {
35 return internalServerError(errors.New("repository is not writable"))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected