qctrlopencontrols.exceptions package

Submodules

qctrlopencontrols.exceptions.exceptions module

exceptions.exceptions

exception qctrlopencontrols.exceptions.exceptions.ArgumentsValueError(description, arguments, extras=None)

Bases: qctrlopencontrols.exceptions.exceptions.QctrlError

Exception thrown when one or more arguments provided to a method have incorrect values.

Notes

If the error message passed to the console is a combination of the problem, then the name of each attribute and its corresponding representation (repr(attribute)). Once constructed the attribute message contains the full error message.

Parameters:
  • description (string) – Description of the why the input error occurred.
  • arguments (dict) – Dictionary that can only contain the arguments of the method that contributed to the error.
  • extras (dict) – Other variables that contributed to the error but are not attributes of the method.
exception qctrlopencontrols.exceptions.exceptions.QctrlError

Bases: Exception

Base class for exceptions raised by QCtrl package.

Module contents