Exceptions

EsWaitException

exception es_wait.exceptions.EsWaitException(message: Any, errors: Tuple[Exception, ...] = ())

Bases: Exception

Base Exception Class for es_wait package

For the ‘errors’ attribute, errors are ordered from most recently raised (index=0) to least recently raised (index=N)

EsWaitFatal

exception es_wait.exceptions.EsWaitFatal(message: Any, elapsed: float, errors: Tuple[Exception, ...] = ())

Bases: EsWaitException

Raised when a fatal error occurs

EsWaitTimeout

exception es_wait.exceptions.EsWaitTimeout(message: Any, elapsed: float, timeout: float)

Bases: Exception

Raised when the timeout is reached

ExceptionCount

exception es_wait.exceptions.ExceptionCount(message: Any, count: int, errors: Tuple[Exception, ...] = ())

Bases: EsWaitException

Raised when the maximum number of exceptions is reached

IlmWaitError

exception es_wait.exceptions.IlmWaitError(message: Any, errors: Tuple[Exception, ...] = ())

Bases: EsWaitException

Any ILM-related Exception