| 282 | |
| 283 | |
| 284 | class PathMissingError(DvcException): |
| 285 | default_msg = ( |
| 286 | "The path '{}' does not exist in the target repository '{}'" |
| 287 | " neither as a DVC output nor as a Git-tracked file." |
| 288 | ) |
| 289 | default_msg_dvc_only = ( |
| 290 | "The path '{}' does not exist in the target repository '{}' as an DVC output." |
| 291 | ) |
| 292 | |
| 293 | def __init__(self, path, repo, dvc_only=False): |
| 294 | msg = self.default_msg if not dvc_only else self.default_msg_dvc_only |
| 295 | super().__init__(msg.format(path, repo)) |
| 296 | self.dvc_only = dvc_only |
| 297 | |
| 298 | |
| 299 | class URLMissingError(DvcException): |
no outgoing calls
no test coverage detected
searching dependent graphs…