Coverage for /Users/buh/.pyenv/versions/3.12.2/envs/es-testbed/lib/python3.12/site-packages/es_testbed/exceptions.py: 100%
13 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-05-02 09:01 -0600
« prev ^ index » next coverage.py v7.4.4, created at 2024-05-02 09:01 -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 StepChanged(TestbedException):
26 """
27 The current step changed since the initial API call was formed
28 """
31class ResultNotExpected(TestbedException):
32 """
33 The result we got is not what we expected
34 """
37class TestbedFailure(TestbedException):
38 """
39 Whatever we were trying to do failed.
40 """
42 __test__ = False
45class TestbedMisconfig(TestbedException):
46 """
47 There was a misconfiguration encountered.
48 """
50 __test__ = False
53class TestPlanMisconfig(TestbedMisconfig):
54 """
55 There was a misconfiguration in a TestPlan.
56 """
58 __test__ = False
61class TimeoutException(TestbedException):
62 """
63 An process took too long to complete
64 """