PCSWMM-MCP-Server / pcswmm_ai /exceptions.py
razaali10's picture
Upload 22 files
f7a6add verified
Raw
History Blame Contribute Delete
408 Bytes
class PCSWMMError(RuntimeError):
"""Base exception for the SDK."""
class ProjectNotOpenError(PCSWMMError):
"""Raised when a PCSWMM project is required but is not open."""
class LayerNotFoundError(PCSWMMError):
"""Raised when a requested PCSWMM map layer is unavailable."""
class ResultsNotAvailableError(PCSWMMError):
"""Raised when simulation output or graph files are unavailable."""