Coverage for src / dynapydantic / exceptions.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-06-13 20:14 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-06-13 20:14 +0000
1"""Custom exception types"""
4class Error(Exception):
5 """Base class for all dynapydanitc errors"""
8class RegistrationError(Error):
9 """Occurs when a model cannot be registered"""
12class AmbiguousDiscriminatorValueError(Error):
13 """Occurs when the discriminator value is ambiguous"""
16class ConfigurationError(Error):
17 """Occurs when the user misconfigured a tracking setup"""
20class NoRegisteredTypesError(Error):
21 """Occurs when a union is requested from a tracking group with no members"""