Public Member Functions | Data Fields
ioThinxError Class Reference
Inheritance diagram for ioThinxError:

Public Member Functions

def __init__ (self, value)
 
def __str__ (self)
 

Data Fields

 value
 

Detailed Description

Definition at line 10 of file ioThinx_4530_API.py.

Constructor & Destructor Documentation

def __init__ (   self,
  value 
)

Definition at line 11 of file ioThinx_4530_API.py.

Member Function Documentation

def __str__ (   self)

Definition at line 14 of file ioThinx_4530_API.py.

14  def __str__(self):
15  error = ["ok",
16  "init fail",
17  "wrong slot settings",
18  "wrong argument",
19  "wrong config",
20  "wrong range",
21  "wrong communication"
22  ]
23  return repr(error[self.value])
24 
25 

Field Documentation

value

Definition at line 12 of file ioThinx_4530_API.py.


The documentation for this class was generated from the following file: