Exceptions¶
- class qts.QtsError[source]¶
Bases:
Exception
Base exception class for all qts exceptions.
Do not raise directly.
- class qts.InternalError[source]¶
Bases:
qts._errors.QtsError
Raised when things that should not happen do, and they aren’t the user’s fault.
- class qts.InvalidWrapperError(wrapper: object)[source]¶
Bases:
qts._errors.QtsError
Raised when an invalid wrapper is specified.
- class qts.MultipleWrappersAvailableError(searched: Iterable[qts._core.Wrapper], found: Iterable[qts._core.Wrapper])[source]¶
Bases:
qts._errors.QtsError
Raised when searching for one wrapper but multiple are available.
- class qts.NoWrapperAvailableError(wrappers: Iterable[qts._core.Wrapper])[source]¶
Bases:
qts._errors.QtsError
Raised when searching for wrappers and none are available.
- class qts.OtherWrapperAlreadyImportedError(requested: qts._core.Wrapper, already_imported: Collection[qts._core.Wrapper])[source]¶
Bases:
qts._errors.QtsError
Raised when wrappers have already been imported but a call is made to set another.
- class qts.WrapperAlreadySelectedError(existing_wrapper: qts._core.Wrapper, requested_wrapper: qts._core.Wrapper)[source]¶
Bases:
qts._errors.QtsError
Raised when attempting to set a wrapper but one has already been selected.