Source code for _pytask.exceptions

"""This module contains custom exceptions."""
from __future__ import annotations


[docs] class PytaskError(Exception): """Base exception for pytask which should be inherited by all other exceptions."""
[docs] class NodeNotFoundError(PytaskError): """Exception for missing dependencies."""
[docs] class NodeNotCollectedError(PytaskError): """Exception for nodes which could not be collected."""
[docs] class ConfigurationError(PytaskError): """Exception during the configuration."""
[docs] class CollectionError(PytaskError): """Exception during collection."""
[docs] class ResolvingDependenciesError(PytaskError): """Exception during resolving dependencies."""
[docs] class ExecutionError(PytaskError): """Exception during execution."""