Skip to content

Exceptions

All exceptions inherit from AudawisprError.

audawispr.core.errors

Shared audawispr core exceptions.

AudawisprError

Bases: Exception

Base class for expected audawispr runtime failures.

InputAudioError

Bases: AudawisprError

Raised when source audio cannot be used.

TranscriptionError

Bases: AudawisprError

Raised when local transcription cannot produce a valid manifest.

SegmentationError

Bases: AudawisprError

Raised when transcript segments cannot be rebuilt.

EnrichmentError

Bases: AudawisprError

Raised when linguistic enrichment cannot be applied.

ManifestError

Bases: AudawisprError

Raised when a manifest cannot be loaded, saved, or validated.

ClippingError

Bases: AudawisprError

Raised when audio clipping cannot produce valid snippets.

ExportError

Bases: AudawisprError

Raised when manifest export cannot produce valid output.

CancelledError

Bases: AudawisprError

Raised when a pipeline run is cooperatively cancelled.

OneShotError

Bases: AudawisprError

Raised when the one-shot pipeline cannot complete.

DependencyError

Bases: AudawisprError

Raised when a required external dependency cannot be found or installed.