summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/mirroring/fs/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/mirroring/fs/exception.py')
-rw-r--r--src/pybind/mgr/mirroring/fs/exception.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pybind/mgr/mirroring/fs/exception.py b/src/pybind/mgr/mirroring/fs/exception.py
new file mode 100644
index 000000000..d041b276c
--- /dev/null
+++ b/src/pybind/mgr/mirroring/fs/exception.py
@@ -0,0 +1,3 @@
+class MirrorException(Exception):
+ def __init__(self, error_code, error_msg=''):
+ super().__init__(error_code, error_msg)