Exceptions#

Exceptions that may be raised by ESMValCore.

Exceptions:

ESMValCoreDeprecationWarning

Custom deprecation warning.

Error

Base class from which other exceptions are derived.

InputFilesNotFound(msg)

Files that are required to run the recipe have not been found.

InvalidConfigParameter

Config parameter is invalid.

MissingConfigParameter

Config parameter is missing.

RecipeError(msg)

Recipe contains an error.

SuppressedError

Errors subclassed from SuppressedError hide the full traceback.

exception esmvalcore.exceptions.ESMValCoreDeprecationWarning[source]#

Bases: UserWarning

Custom deprecation warning.

exception esmvalcore.exceptions.Error[source]#

Bases: Exception

Base class from which other exceptions are derived.

exception esmvalcore.exceptions.InputFilesNotFound(msg)[source]#

Bases: RecipeError

Files that are required to run the recipe have not been found.

exception esmvalcore.exceptions.InvalidConfigParameter[source]#

Bases: Error, SuppressedError

Config parameter is invalid.

exception esmvalcore.exceptions.MissingConfigParameter[source]#

Bases: UserWarning

Config parameter is missing.

exception esmvalcore.exceptions.RecipeError(msg)[source]#

Bases: Error

Recipe contains an error.

exception esmvalcore.exceptions.SuppressedError[source]#

Bases: Exception

Errors subclassed from SuppressedError hide the full traceback.

This can be used for simple user-facing errors that do not need the full traceback.