Coverage for bbconf/exceptions.py: 100%

29 statements  

« prev     ^ index     » next       coverage.py v7.6.0, created at 2024-07-17 04:01 +0000

1import abc 

2 

3 

4class BedBaseConfError(Exception): 

5 """Base exception type for this package""" 

6 

7 __metaclass__ = abc.ABCMeta 

8 

9 

10class BedbaseS3ConnectionError(BedBaseConfError): 

11 """connection error to s3""" 

12 

13 pass 

14 

15 

16class BadAccessMethodError(BedBaseConfError): 

17 """Access ID is not well defined""" 

18 

19 pass 

20 

21 

22class BedBaseConnectionError(BedBaseConfError): 

23 """Error type for DB connection problems""" 

24 

25 pass 

26 

27 

28class MissingThumbnailError(BedBaseConfError): 

29 """Error type for missing thumbnail""" 

30 

31 pass 

32 

33 

34class BedFIleExistsError(BedBaseConfError): 

35 """Error where files exists, and should not be overwritten""" 

36 

37 pass 

38 

39 

40class MissingObjectError(BedBaseConfError): 

41 """Error type for missing object""" 

42 

43 pass 

44 

45 

46class BEDFileNotFoundError(BedBaseConfError): 

47 """Error type for missing bedfile""" 

48 

49 pass 

50 

51 

52class BedSetNotFoundError(BedBaseConfError): 

53 """Error type for missing bedset""" 

54 

55 pass 

56 

57 

58class BedSetExistsError(BedBaseConfError): 

59 """Error type for existing bedset""" 

60 

61 pass 

62 

63 

64class UniverseNotFoundError(BedBaseConfError): 

65 """Error type for missing universe""" 

66 

67 pass 

68 

69 

70class TokenizeFileExistsError(BedBaseConfError): 

71 """Error type for existing tokenize file""" 

72 

73 pass 

74 

75 

76class TokenizeFileNotExistError(BedBaseConfError): 

77 """Error type for missing tokenize file""" 

78 

79 pass 

80 

81 

82class QdrantInstanceNotInitializedError(BedBaseConfError): 

83 """Error type for missing qdrant instance""" 

84 

85 pass