summaryrefslogtreecommitdiffstats
path: root/cns-libs/cnslibs/common/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'cns-libs/cnslibs/common/exceptions.py')
-rw-r--r--cns-libs/cnslibs/common/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/cns-libs/cnslibs/common/exceptions.py b/cns-libs/cnslibs/common/exceptions.py
index 38fb27e6..44daee12 100644
--- a/cns-libs/cnslibs/common/exceptions.py
+++ b/cns-libs/cnslibs/common/exceptions.py
@@ -11,5 +11,13 @@ class ExecutionError(Exception):
unrecoverable error.
For example, all hosts are not in peer state or a volume cannot be setup.
+ '''
+
+
+class NotSupportedException(Exception):
+ '''
+ Custom exception thrown when we do not support a particular feature in
+ particular product version
+ For example, pv resize is not supported in OCP version < 3.9
'''