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

Method SetCtx

pkg/http/httpserver/errorresp/errors.go:168–170  ·  view source on GitHub ↗

SetCtx Set ctx

(ctx interface{})

Source from the content-addressed store, hash-verified

166
167// SetCtx Set ctx
168func (e *APIError) SetCtx(ctx interface{}) *APIError {
169 return e.dup().setCtx(ctx)
170}

Callers 3

CreateDeploymentOrderMethod · 0.80
RunPipelineMethod · 0.80

Calls 2

dupMethod · 0.95
setCtxMethod · 0.80

Tested by

no test coverage detected