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

Method Error

errors/errors_taskfile.go:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func (err *TaskfileNotSecureError) Error() string {
108 return fmt.Sprintf(
109 `task: Taskfile %q cannot be downloaded over an insecure connection. You can override this by using the --insecure flag`,
110 filepath.ToSlash(err.URI),
111 )
112}
113
114func (err *TaskfileNotSecureError) Code() int {
115 return CodeTaskfileNotSecure

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected