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

Method AlreadyExists

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

AlreadyExists 资源已存在

()

Source from the content-addressed store, hash-verified

83
84// AlreadyExists 资源已存在
85func (e *APIError) AlreadyExists() *APIError {
86 return e.dup().appendCode(http.StatusConflict, "AlreadyExists").
87 appendLocaleTemplate(templateAlreadyExists)
88}
89
90// InternalError 异常
91func (e *APIError) InternalError(err error) *APIError {

Callers

nothing calls this directly

Calls 3

dupMethod · 0.95
appendLocaleTemplateMethod · 0.80
appendCodeMethod · 0.80

Tested by

no test coverage detected