"""Exceptions for Circuit Synth."""
[docs]
class CircuitSynthError(Exception):
"""Base exception for all Circuit Synth errors."""
pass
[docs]
class LibraryNotFound(CircuitSynthError):
"""Raised when a library file cannot be found."""
pass
[docs]
class SymbolNotFoundError(CircuitSynthError):
"""Raised when a symbol is not found in a library."""
pass
[docs]
class ParseError(CircuitSynthError):
"""Raised when there is an error parsing a file."""
pass
[docs]
class ValidationError(CircuitSynthError):
"""Raised when a property validation fails."""
pass
[docs]
class ComponentError(CircuitSynthError):
"""Raised when there is an error with a component or its pins."""
pass
[docs]
class ConnectionError(CircuitSynthError):
"""Raised when there is an error with connections."""
pass