nudb_use.exceptions package

nudb_use.exceptions.exception_classes module

Exception types used across nudb_use.

exception NudbDerivedFromNotFoundError

Bases: Exception

Domain-specific error for NUDB deriving issues when looking for columns needed.

exception NudbQualityError

Bases: Exception

Domain-specific error for NUDB quality validations.

nudb_use.exceptions.groups module

Utilities for raising or logging grouped exceptions.

raise_exception_group(errors)

Raise grouped exceptions as ExceptionGroup (Py3.11+) or ValueError.

Parameters:

errors (Sequence[Exception]) – Exceptions that should be raised together.

Raises:

ExceptionGroup – On Python 3.11+, raised with every collected error.

Return type:

None

warn_exception_group(errors)

Log each exception in the provided list using the active logger.

Parameters:

errors (Sequence[Exception]) – Exceptions that should be emitted as warnings in sequence.

Return type:

None