"""Exceptions for the ``models_dependency`` app."""

class CircularRelationshipException(RuntimeError):
    """Raised when there is at least one circular dependency in the models."""

    pass


class UnresolvableDependenciesTree(Exception):
    """Raised when an undefined error happened when trying to resolve the dependency tree."""

    pass
