sift_py.error
1import warnings 2 3 4class SiftError(Exception): 5 """ 6 These exceptions are raised when something totally unexpected occurs and is 7 meant to indicate that the error is likely not caused by the user, but rather, 8 the library itself. These errors should be reported to Sift. 9 """ 10 11 msg: str 12 13 def __init__(self, msg: str): 14 super().__init__(f"{msg}\nPlease notify Sift.") 15 16 17class SiftAPIDeprecationWarning(FutureWarning): 18 """ 19 Warning used for deprecated API features that may be removed in future updates. 20 """ 21 22 ... 23 24 25def _component_deprecation_warning(): 26 warnings.warn( 27 "`component` field of Channel has been deprecated and will be removed in 1.0.0. " 28 "See docs for more details: https://docs.siftstack.com/docs/glossary#component", 29 SiftAPIDeprecationWarning, 30 )
class
SiftError(builtins.Exception):
5class SiftError(Exception): 6 """ 7 These exceptions are raised when something totally unexpected occurs and is 8 meant to indicate that the error is likely not caused by the user, but rather, 9 the library itself. These errors should be reported to Sift. 10 """ 11 12 msg: str 13 14 def __init__(self, msg: str): 15 super().__init__(f"{msg}\nPlease notify Sift.")
These exceptions are raised when something totally unexpected occurs and is meant to indicate that the error is likely not caused by the user, but rather, the library itself. These errors should be reported to Sift.
Inherited Members
- builtins.BaseException
- with_traceback
- args
class
SiftAPIDeprecationWarning(builtins.FutureWarning):
18class SiftAPIDeprecationWarning(FutureWarning): 19 """ 20 Warning used for deprecated API features that may be removed in future updates. 21 """ 22 23 ...
Warning used for deprecated API features that may be removed in future updates.
Inherited Members
- builtins.FutureWarning
- FutureWarning
- builtins.BaseException
- with_traceback
- args