/usr/lib/python2.7/dist-packages/curator/exceptions.py is in python-elasticsearch-curator 4.2.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | class CuratorException(Exception):
"""
Base class for all exceptions raised by Curator which are not Elasticsearch
exceptions.
"""
class ConfigurationError(CuratorException):
"""
Exception raised when a misconfiguration is detected
"""
class MissingArgument(CuratorException):
"""
Exception raised when a needed argument is not passed.
"""
class NoIndices(CuratorException):
"""
Exception raised when an operation is attempted against an empty index_list
"""
class NoSnapshots(CuratorException):
"""
Exception raised when an operation is attempted against an empty snapshot_list
"""
class ActionError(CuratorException):
"""
Exception raised when an action (against an index_list or snapshot_list) cannot be taken.
"""
class FailedExecution(CuratorException):
"""
Exception raised when an action fails to execute for some reason.
"""
class SnapshotInProgress(ActionError):
"""
Exception raised when a snapshot is already in progress
"""
|