new-openstackcheck/ng_openstack/exceptions.py

11 lines
400 B
Python
Raw Normal View History

2022-10-10 05:25:49 +00:00
class ItemNotFoundError(ValueError):
'''Used when looking up REDIS or SQL or any other database to indicate to the calling routine that the object
cant be found and to move along and try bother some other function
'''
2022-11-02 05:30:36 +00:00
class ItemNotSavedError(ValueError):
'''Item cant be saved to Redis
'''
2022-10-10 05:25:49 +00:00
class DeadIPFound(ValueError):
''''An ip has been saved to redis as being 'DEAD"'''