errors – Error defintions¶
Module with the Exception definitions used in tcs_lib
-
exception
tcs_lib.errors.TCSLibError[source]¶ Bases:
ExceptionError used as base class for all the others
-
exception
tcs_lib.errors.DBOrderingError[source]¶ Bases:
tcs_lib.errors.TCSLibError,ValueErrorThe database ordering keyword is not correct
-
exception
tcs_lib.errors.ConvertTypeError[source]¶ Bases:
tcs_lib.errors.TCSLibError,TypeErrorRaised when the type to encode/decode is not correct
-
exception
tcs_lib.errors.TCSEventIndexError[source]¶ Bases:
tcs_lib.errors.TCSLibError,IndexErrorRaise when an incoming TCS event is not composes of two parts
-
exception
tcs_lib.errors.TCSJSONDecodeError[source]¶ Bases:
tcs_lib.errors.TCSLibError,ValueErrorRaise when the second part of the TCS event is not a valid json