src.elv.sh/pkg/eval/errs.BadValue.What (field)
27 uses
src.elv.sh/pkg/eval/errs (current package)
errs.go#L31: What string
errs.go#L39: "bad value: %v must be %v, but is %v", e.What, e.Valid, e.Actual)
src.elv.sh/pkg/eval
builtin_fn_container.go#L72: What: `key of argument of "ns"`,
builtin_fn_container.go#L114: What: "input to make-map", Valid: "iterable", Actual: vals.Kind(v)}
builtin_fn_container.go#L119: What: "input to make-map", Valid: "iterable with 2 elements",
builtin_fn_container.go#L204: What: "step", Valid: "positive", Actual: strconv.Itoa(step)}
builtin_fn_container.go#L209: What: "step", Valid: "positive", Actual: step.String()}
builtin_fn_container.go#L214: What: "step", Valid: "positive", Actual: step.String()}
builtin_fn_container.go#L219: What: "step", Valid: "positive", Actual: vals.ToString(step)}
builtin_fn_container.go#L779: What: `inputs to "order"`,
builtin_fn_container.go#L808: What: "output of the &less-than callback",
builtin_fn_container.go#L817: What: "output of the &less-than callback",
builtin_fn_num.go#L127: return nil, errs.BadValue{What: "argument here",
builtin_fn_num.go#L509: What: "divisor", Valid: "number other than exact 0", Actual: "exact 0"}
compile_effect.go#L357: What: "option key", Valid: "string", Actual: vals.Kind(k)})
compile_effect.go#L385: What: what,
compile_effect.go#L546: What: "redirection source",
compile_effect.go#L586: What: what, Valid: valid, Actual: vals.Repr(value, vals.NoPretty)})
src.elv.sh/pkg/eval/mods/str
str.go#L128: What: "argument to str:from-codepoints",
str.go#L175: What: "arguments to str:from-utf8-bytes",
str.go#L286: What: "input to str:join", Valid: "string", Actual: vals.Kind(v)}
src.elv.sh/pkg/eval/mods/unix
umask.go#L79: What: "umask", Valid: validUmaskMsg, Actual: vals.ToString(v)}
umask.go#L87: What: "umask", Valid: validUmaskMsg, Actual: vals.ToString(v)}
umask.go#L92: What: "umask", Valid: validUmaskMsg, Actual: vals.ToString(v)}
src.elv.sh/pkg/edit
vars.go#L40: What: "name argument to edit:add-var",
vars.go#L68: What: "key of argument to edit:add-vars",
vars.go#L73: What: "key of argument to edit:add-vars",