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: qts._core.Wrapper)[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.NoWrapperSelectedError[source]¶
Bases:
qts._errors.QtsError
Raised when a wrapper selection is required but has not been made.
- 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.