Coverage for /Users/buh/.pyenv/versions/3.12.2/envs/es-testbed/lib/python3.12/site-packages/es_testbed/exceptions.py: 100%
12 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-04-27 21:15 -0600
« prev ^ index » next coverage.py v7.4.4, created at 2024-04-27 21:15 -0600
1"""es-testbed Exceptions"""
4class TestbedException(Exception): # parent exception
5 """
6 Base class for all exceptions raised by the tool which are not Elasticsearch
7 or es_client exceptions.
8 """
10 __test__ = False
13class MissingArgument(TestbedException):
14 """
15 An expected argument was missing
16 """
19class NameChanged(TestbedException):
20 """
21 An index name changed, likely due to an ILM promotion to cold or frozen
22 """
25class ResultNotExpected(TestbedException):
26 """
27 The result we got is not what we expected
28 """
31class TestbedFailure(TestbedException):
32 """
33 Whatever we were trying to do failed.
34 """
36 __test__ = False
39class TestbedMisconfig(TestbedException):
40 """
41 There was a misconfiguration encountered.
42 """
44 __test__ = False
47class TestPlanMisconfig(TestbedMisconfig):
48 """
49 There was a misconfiguration in a TestPlan.
50 """
52 __test__ = False
55class TimeoutException(TestbedException):
56 """
57 An process took too long to complete
58 """