DepperDan/common/errors.py

18 lines
563 B
Python

# (c) 2025 by Stephan Menzel
# Licensed under the Apache License, Version 2.0.
# See attached file LICENSE for full details
class DependencyInfoError(Exception):
"""Thrown whenever some information about dependencies is missing."""
def __init__(self, message):
"""Construct this exception type."""
super().__init__(message)
class BuildError(Exception):
"""Thrown when build related things at runtime don't work out."""
def __init__(self, message):
"""Construct this exception type."""
super().__init__(message)