MCPcopy Create free account
hub / github.com/treeverse/dvc / PathMissingError

Class PathMissingError

dvc/exceptions.py:284–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282
283
284class 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
299class URLMissingError(DvcException):

Callers 1

_wrap_exceptionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…