Source code for design_research_problems._exceptions

"""Package-specific exceptions."""

from __future__ import annotations


[docs] class MissingOptionalDependencyError(ImportError): """Raised when a caller uses an optional integration that is not installed."""
[docs] class ProblemEvaluationError(RuntimeError): """Raised when a problem definition is internally inconsistent."""