qat.exceptions.compilation module

Exceptions raised while compiling programs.

exception CompilationError

Bases: ValueError

Base class for errors raised while compiling a program in QAT.

It subclasses ValueError so that code which catches ValueError from compilation still catches it.

exception UnsupportedProgramError

Bases: CompilationError

Raised when a program is valid, but the target cannot run it.

For example, when a timing in the program exceeds a limit of the target’s hardware.