wristpy.core.exceptions¶
Custom exceptions for wristpy.
Exceptions
|
Custom exception for failures in calibration. |
|
No .gt3x or .bin files were found in the directory. |
|
Wristpy did not expect this file extension. |
|
Base class that automatically logs messages. |
|
No epochs with zero movement could be found in the data. |
|
Data did not meet the sphere criteria. |
- exception wristpy.core.exceptions.CalibrationError(message: str)[source]¶
Bases:
LoggedException
Custom exception for failures in calibration.
- exception wristpy.core.exceptions.EmptyDirectoryError(message: str)[source]¶
Bases:
LoggedException
No .gt3x or .bin files were found in the directory.
- exception wristpy.core.exceptions.InvalidFileTypeError(message: str)[source]¶
Bases:
LoggedException
Wristpy did not expect this file extension.
- exception wristpy.core.exceptions.LoggedException(message: str)[source]¶
Bases:
Exception
Base class that automatically logs messages.
- exception wristpy.core.exceptions.NoMotionError(message: str)[source]¶
Bases:
LoggedException
No epochs with zero movement could be found in the data.
- exception wristpy.core.exceptions.SphereCriteriaError(message: str)[source]¶
Bases:
LoggedException
Data did not meet the sphere criteria.