MCPcopy Create free account
hub / github.com/go-task/task / Error

Method Error

experiments/errors.go:17–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (err InvalidValueError) Error() string {
18 return fmt.Sprintf(
19 "task: Experiment %q has an invalid value %q (allowed values: %s)",
20 err.Name,
21 err.Value,
22 strings.Join(slicesext.Convert(err.AllowedValues, strconv.Itoa), ", "),
23 )
24}
25
26type InactiveError struct {
27 Name string

Callers

nothing calls this directly

Calls 1

ConvertFunction · 0.92

Tested by

no test coverage detected