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

Method String

errors/errors_task.go:161–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161func (v MissingVar) String() string {
162 if len(v.AllowedValues) == 0 {
163 return v.Name
164 }
165 return fmt.Sprintf("%s (allowed values: %v)", v.Name, v.AllowedValues)
166}
167
168func (err *TaskMissingRequiredVarsError) Error() string {
169 vars := make([]string, 0, len(err.MissingVars))

Callers 5

ErrorMethod · 0.45
DebugMethod · 0.45
ErrorMethod · 0.45
ErrorMethod · 0.45
ErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected