diff options
author | Apeksha D Khakharia <akhakhar@redhat.com> | 2018-05-18 18:21:08 +0530 |
---|---|---|
committer | Apeksha D Khakharia <akhakhar@redhat.com> | 2018-10-18 13:05:39 +0530 |
commit | f3bf3c89c5c2ab0117ac5723c60ec4692ab5e334 (patch) | |
tree | fa90b54aa9d25712eb58d770127d0a7fdecf9f7b /cns-libs/cnslibs/common/exceptions.py | |
parent | 8c53dc0b520d88513598c3e8e06a40e1e3a64f7c (diff) |
CNS: adding libraries and 2 testcases for pv resize
Change-Id: Idae22a28e4da867fd0567cbec49760d6f3a374f6
Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
Diffstat (limited to 'cns-libs/cnslibs/common/exceptions.py')
-rw-r--r-- | cns-libs/cnslibs/common/exceptions.py | 8 |
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 ''' |