exceptions Module

ThinkIQ exception classes .. module:: exceptions

Exception Listings

Error

Base exception class in ThinkIQ

ModelError

Generic Error regarding ThinkIQ model.

NodeIdDoesNotExist

The requested node does not exist in the ThinkIQ model.

NodeIdRelativeNameDoesNotExist

The requested relative_name does not exist on the node in the ThinkIQ model.

Exceptions

class thinkiq.exceptions.Error

Base class for exceptions in this module.

class thinkiq.exceptions.ModelError

Generic error regarding the ThinkIQ model.

class thinkiq.exceptions.NodeIdDoesNotExist(node_id, message='')

The requested node does not exist in the ThinkIQ model.

Parameters:
  • node_id (int) – The node id of an entity in ThinkIQ model.

  • message (str, optional) – Explanation of the error

class thinkiq.exceptions.NodeIdRelativeNameDoesNotExist(node_id, relative_name, message='')

The requested relative_name does not exist on the node in the ThinkIQ model.

Parameters:
  • node_id (int) – The node id of an entity in ThinkIQ model.

  • relative_name (str) – The relative name of the node.

  • message (str, optional) – Explanation of the error