MCPcopy
hub / github.com/nektos/act / SetJobError

Function SetJobError

pkg/common/job_error.go:26–28  ·  view source on GitHub ↗
(ctx context.Context, err error)

Source from the content-addressed store, hash-verified

24}
25
26func SetJobError(ctx context.Context, err error) {
27 ctx.Value(jobErrorContextKeyVal).(map[string]error)["error"] = err
28}
29
30// WithJobErrorContainer adds a value to the context as a container for an error
31func WithJobErrorContainer(ctx context.Context) context.Context {

Callers 3

newJobExecutorFunction · 0.92
compositeExecutorMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…