:py:mod:`hermes.model.errors` ============================= .. py:module:: hermes.model.errors Module Contents --------------- .. py:exception:: HermesValidationError Bases: :py:obj:`Exception` This exception should be thrown when input validation (e.g., during harvest) occurs. To be able to track and fix the error, you should use this in conjunction with the original exception if applicable: .. code:: python try: validate_some_data(src_file) except ValueError as e: raise HermesValidationError(src_file) from e .. py:exception:: MergeError(path: hermes.model.path.ContextPath, old_Value: Any, new_value: Any, **kwargs) Bases: :py:obj:`Exception` This exception should be raised when there is an error during a merge / set operation.