Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1""" 

2Set of Custom exception used by the API business logic 

3""" 

4 

5 

6class MissingSecretError(Exception): 

7 """ 

8 Custom exception class. It refers to missing AWS Secrets. 

9 """ 

10 

11 

12class AccessException(Exception): 

13 """ 

14 Custom exception class. It refers to access issues against the API provider. 

15 """ 

16 

17 

18class RequestException(Exception): 

19 """ 

20 Custom exception class. It refers to access issues against the API provider. 

21 """ 

22 

23 

24class InputArgumentException(Exception): 

25 """ 

26 Custom exception class. It refers invalid values informed as arguments to the given programming unit. 

27 """ 

28 pass 

29 

30 

31class BadSchema(ValueError): 

32 """ 

33 Custom exception class. Data was unable to be read with data schema. 

34 """ 

35 

36 

37class DeltaTimeExpressionParserException(Exception): 

38 """ 

39 Custom exception class. It refers invalid values informed as a delta expression. 

40 """ 

41 

42 

43class RateLimitException(Exception): 

44 """ 

45 Custom exception class. It refers to api rate limits. 

46 """ 

47 

48 

49class APIInternalErrorException(Exception): 

50 """ 

51 Custom exception class. It refers to api internal errors. 

52 """