Source code for euring.exceptions

[docs] class EuringException(Exception): """Base exception for EURING errors."""
[docs] class EuringTypeException(EuringException): """Raised when a value does not satisfy its declared EURING type."""
[docs] class EuringConstraintException(EuringException): """Raised when a value violates field constraints beyond type."""
[docs] class EuringLookupException(EuringException): """Raised when a lookup value cannot be resolved."""