ValidationError#
- class pymovements.ValidationError(check_id: str, message: str, affected_files: list[str])[source]#
Raised when a validation check produces a
'fail'or'error'-severity result.- Parameters:
Examples
>>> from pymovements.gaze.quality import ValidationError >>> try: ... raise ValidationError('time_column_exists', 'missing', ['f.csv']) ... except ValidationError as exc: ... print(exc.check_id) time_column_exists