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

Method InvalidState

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

InvalidState 状态异常

(err string)

Source from the content-addressed store, hash-verified

50
51// InvalidState 状态异常
52func (e *APIError) InvalidState(err string) *APIError {
53 return e.dup().appendCode(http.StatusBadRequest, "InvalidState").
54 appendLocaleTemplate(templateInvalidState, err)
55}
56
57// NotLogin 未登录
58func (e *APIError) NotLogin() *APIError {

Callers

nothing calls this directly

Calls 3

dupMethod · 0.95
appendLocaleTemplateMethod · 0.80
appendCodeMethod · 0.80

Tested by

no test coverage detected