diff options
Diffstat (limited to 'cxmanage_api/cx_exceptions.py')
-rw-r--r-- | cxmanage_api/cx_exceptions.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cxmanage_api/cx_exceptions.py b/cxmanage_api/cx_exceptions.py index 5f60df7..c4b2e0f 100644 --- a/cxmanage_api/cx_exceptions.py +++ b/cxmanage_api/cx_exceptions.py @@ -401,25 +401,4 @@ class IPDiscoveryError(Exception): """String representation of this Exception class.""" return self.msg -class NoFRUVersionError(Exception): - """Raised when a node does not detect a FRU version. - - >>> from cxmanage_api.cx_exceptions import NoFRUError - >>> raise NoFRUError('My custom exception text!') - Traceback (most recent call last): - File "<stdin>", line 1, in <module> - cxmanage_api.cx_exceptions.NoFRUError: My custom exception text! - - :param msg: Exceptions message and details to return to the user. - :type msg: string - :raised: When a node fails to detect a FRU version - - """ - - def __init__(self, msg="No FRU version detected"): - super(NoFRUVersionError, self).__init__() - self.msg = msg - def __str__(self): - return self.msg - # End of file: exceptions.py |