Source code for esmvalcore.exceptions

"""Exceptions that may be raised by ESMValCore."""


[docs]class RecipeError(Exception): """Recipe contains an error.""" def __init__(self, msg): super().__init__(self) self.message = msg self.failed_tasks = [] def __str__(self): """Return message string.""" return self.message
[docs]class InputFilesNotFound(RecipeError): """Files that are required to run the recipe have not been found."""
[docs]class ESMValCoreDeprecationWarning(UserWarning): """Custom deprecation warning."""