qmi.core.exceptions.QMI_UsageException

exception qmi.core.exceptions.QMI_UsageException

Raised when the library is used in a way that was not intended.

Examples

  • Bad data type of argument

  • Invalid order of operations

  • Use without initialization

add_note()

Exception.add_note(note) – add a note to the exception

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.