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

Method Error

errors/errors_taskfile.go:207–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205}
206
207func (err *TaskfileDoesNotMatchChecksum) Error() string {
208 return fmt.Sprintf(
209 "task: The checksum of the Taskfile at %q does not match!\ngot: %q\nwant: %q",
210 filepath.ToSlash(err.URI),
211 err.ActualChecksum,
212 err.ExpectedChecksum,
213 )
214}
215
216func (err *TaskfileDoesNotMatchChecksum) Code() int {
217 return CodeTaskfileDoesNotMatchChecksum

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected