Coverage for src/exceptions.py: 100%
6 statements
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-22 17:59 +0530
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-22 17:59 +0530
1"""Project Exceptions."""
4class EsXportError(Exception):
5 """Project Base Exception."""
8class IndexNotFoundError(EsXportError):
9 """Index provided does not exist."""
12class FieldNotFoundError(EsXportError):
13 """Field provided does not exist."""
16class MetaFieldNotFoundError(FieldNotFoundError):
17 """Meta Field provided does not exist."""
20class ESConnectionError(EsXportError):
21 """Elasticsearch connection error."""
24class ScrollExpiredError(EsXportError):
25 """When scroll expires."""