qat.core.exceptions_utils

Utilities for easier exception management on functions that are only expected to raise one or a few exception types.

qat.core.exceptions_utils.exception_only

Decorator for exception types control

qat.core.exceptions_utils.generator_exception_only()

Decorator for raising only GeneratorException

qat.core.exceptions_utils.plugin_exception_only()

Decorator for raising only PluginException

qat.core.exceptions_utils.qpu_exception_only()

Decorator for raising only QPUException