Todo
Improve autoapi module
circadapt.error
CircAdapt Error functions.
Package Contents
Functions
|
Raise error on non existance. |
Raise error on non existance. |
|
|
Catch OSError and give a userfriendly exception. |
Objects
- circadapt.error.catch_general_error(func)
Raise error on non existance.
If parameter does not exist, raise error.
Returns
True (boolean) on success
Raises
NameError if not success
- circadapt.error.raise_error_on_non_existance_set(func)
Raise error on non existance.
If parameter does not exist, raise error.
Returns
True (boolean) on success
Raises
NameError if not success
- circadapt.error.except_OSerror(func)
Catch OSError and give a userfriendly exception.
- exception circadapt.error.CircAdaptException
Bases:
Exception
General CircAdapt error.
- class args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception circadapt.error.ModelNotStable
Bases:
CircAdaptException
Model is not stable, consecutive beats are not the same.
- class args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception circadapt.error.ModelCrashed
Bases:
CircAdaptException
Model is crashed, nans are present in the signal.
- class args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception circadapt.error.TriggerNotFound(par)
Bases:
CircAdaptException
Trigger is not found.
- class args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception circadapt.error.CorruptBuild
Bases:
CircAdaptException
Model is not properly built.
- class args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.