()
| 205 | } |
| 206 | |
| 207 | func (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 | |
| 216 | func (err *TaskfileDoesNotMatchChecksum) Code() int { |
| 217 | return CodeTaskfileDoesNotMatchChecksum |
nothing calls this directly
no outgoing calls
no test coverage detected