mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 07:18:28 +01:00
9 lines
232 B
Python
9 lines
232 B
Python
import traceback
|
|
|
|
|
|
class DvcException(Exception):
|
|
def __init__(self, msg, cause=None):
|
|
self.cause = cause
|
|
self.cause_tb = traceback.format_exc() if cause else None
|
|
super(DvcException, self).__init__(msg)
|