| |
Methods defined here:
- __init__(self)
- Initialize self. See help(type(self)) for accurate signature.
- add_error(self, internal_code, message)
- Adds an error to the collector.
Args:
internal_code (str): The internal error code.
message (str): The detailed error message.
- has_error_code(self, code)
- checks if error code exists in the list of errors
- has_errors(self)
- checks if the collector collected any errors
- raise_if_errors(self)
- Raises a ValidationError if there are any collected errors.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|