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