(ctx context.Context, err error)
| 24 | } |
| 25 | |
| 26 | func 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 |
| 31 | func WithJobErrorContainer(ctx context.Context) context.Context { |
no outgoing calls
no test coverage detected
searching dependent graphs…