Coverage for bbconf/exceptions.py: 100%
29 statements
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-17 04:01 +0000
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-17 04:01 +0000
1import abc
4class BedBaseConfError(Exception):
5 """Base exception type for this package"""
7 __metaclass__ = abc.ABCMeta
10class BedbaseS3ConnectionError(BedBaseConfError):
11 """connection error to s3"""
13 pass
16class BadAccessMethodError(BedBaseConfError):
17 """Access ID is not well defined"""
19 pass
22class BedBaseConnectionError(BedBaseConfError):
23 """Error type for DB connection problems"""
25 pass
28class MissingThumbnailError(BedBaseConfError):
29 """Error type for missing thumbnail"""
31 pass
34class BedFIleExistsError(BedBaseConfError):
35 """Error where files exists, and should not be overwritten"""
37 pass
40class MissingObjectError(BedBaseConfError):
41 """Error type for missing object"""
43 pass
46class BEDFileNotFoundError(BedBaseConfError):
47 """Error type for missing bedfile"""
49 pass
52class BedSetNotFoundError(BedBaseConfError):
53 """Error type for missing bedset"""
55 pass
58class BedSetExistsError(BedBaseConfError):
59 """Error type for existing bedset"""
61 pass
64class UniverseNotFoundError(BedBaseConfError):
65 """Error type for missing universe"""
67 pass
70class TokenizeFileExistsError(BedBaseConfError):
71 """Error type for existing tokenize file"""
73 pass
76class TokenizeFileNotExistError(BedBaseConfError):
77 """Error type for missing tokenize file"""
79 pass
82class QdrantInstanceNotInitializedError(BedBaseConfError):
83 """Error type for missing qdrant instance"""
85 pass