MCPcopy
hub / github.com/treeverse/dvc / DvcException

Class DvcException

dvc/exceptions.py:12–18  ·  view source on GitHub ↗

Base class for all dvc exceptions.

Source from the content-addressed store, hash-verified

10
11
12class DvcException(Exception): # noqa: N818
13 """Base class for all dvc exceptions."""
14
15 def __init__(self, msg, *args):
16 assert msg
17 self.msg = msg
18 super().__init__(msg, *args)
19
20
21class InvalidArgumentError(ValueError, DvcException):

Callers 15

test_connectionMethod · 0.90
handle_errorFunction · 0.90
saveMethod · 0.90
verify_metricMethod · 0.90
get_dir_cacheMethod · 0.90
unstageMethod · 0.90
applyMethod · 0.90
addMethod · 0.90
unlockMethod · 0.90
unlockMethod · 0.90
stageMethod · 0.90
resolve_pathsFunction · 0.90

Calls

no outgoing calls

Tested by 4

test_connectionMethod · 0.72
test_failed_import_urlFunction · 0.72