Source code for e3_build_tools.exceptions

"""Module for custom exceptions."""


[docs] class DependencyResolutionError(Exception): """The dependencies cannot be resolved."""
[docs] class ModuleExistsException(Exception): """The given module has already been added to the environment."""
[docs] class MissingRemoteException(Exception): """No remote is defined."""
[docs] class NotInitialisedError(Exception): """The URL to the module has not yet been retrieved."""
[docs] class InvalidVersionException(Exception): """The version is not with a valid pattern."""
[docs] class FetchDataException(Exception): """Was not able to fetch data from registry."""
[docs] class ProcessException(Exception): """Process step failed."""
[docs] class ModuleBuildFailException(Exception): """Module build failed."""
[docs] class NoModuleChangesException(Exception): """No changes to be commited."""
[docs] class MissingReferenceException(Exception): """Reference was not found on repository."""
[docs] class FileNotFoundException(Exception): """Fine was not found on repository."""