MCPcopy Index your code
hub / github.com/erda-project/erda / NotLogin

Method NotLogin

pkg/http/httpserver/errorresp/error_codes.go:58–61  ·  view source on GitHub ↗

NotLogin 未登录

()

Source from the content-addressed store, hash-verified

56
57// NotLogin 未登录
58func (e *APIError) NotLogin() *APIError {
59 return e.dup().appendCode(http.StatusUnauthorized, "NotLogin").
60 appendLocaleTemplate(templateNotLogin)
61}
62
63// AccessDenied 无权限
64func (e *APIError) AccessDenied() *APIError {

Callers

nothing calls this directly

Calls 3

dupMethod · 0.95
appendLocaleTemplateMethod · 0.80
appendCodeMethod · 0.80

Tested by

no test coverage detected