Attention
You’re viewing an old version of the L’ART Research Assistant documentation. The project has moved to https://lart.readthedocs.io/projects/research-assistant.
research_client.datavalidator.exceptions
Exceptions for the datavalidator package.
Exceptions
Exception raised when one or more data validations have failed. |
- exception DataValidationError[source]
Bases:
Exception
Exception raised when one or more data validations have failed.
- __init__(message, validator)[source]
Constructs a new DataValidationError exception.
- Parameters:
message (
str
) – The message to be shown to the user.validator (
Validator
) – The list of the ValidationResults that have failed validation.
- errors
Type:
list
[ValidationResult
]The list of the ValidationResults that have failed validation.
- message
Type:
str
The message to be shown to the user.