MCPcopy Create free account
hub / github.com/erda-project/erda / setCtx

Method setCtx

pkg/http/httpserver/errorresp/errors.go:133–136  ·  view source on GitHub ↗
(ctx interface{})

Source from the content-addressed store, hash-verified

131}
132
133func (e *APIError) setCtx(ctx interface{}) *APIError {
134 e.ctx = ctx
135 return e
136}
137
138func (e *APIError) Render(localeResource *i18n.LocaleResource) string {
139 for _, metaMessage := range e.localeMetaMessages {

Callers 1

SetCtxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected