Skip to content

errors

Typed exception hierarchy for the CorridorKey pipeline. All exceptions inherit from CorridorKeyError.

Bases: Exception

Base exception for all CorridorKey errors.

Bases: CorridorKeyError

Raised when a clip path cannot be scanned or has an unrecognised structure.

Bases: CorridorKeyError

Raised when video frame extraction fails.

Bases: CorridorKeyError

Raised when input and alpha frame counts do not match.

Bases: CorridorKeyError

Raised when a frame file cannot be read or decoded.

Bases: CorridorKeyError

Raised when a write operation fails.

Bases: CorridorKeyError

Raised when there is not enough GPU VRAM for the requested operation.

Bases: CorridorKeyError

Raised when the requested compute device is unavailable.

Bases: CorridorKeyError

Raised when a model cannot be downloaded or fails checksum verification.

Bases: CorridorKeyError

Raised when a clip state transition is not permitted by the state machine.

Bases: CorridorKeyError

Raised when a pipeline job is cancelled by the caller.