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 30 of file ioThinx_4530_API.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  value 
)

Definition at line 31 of file ioThinx_4530_API.py.

31  def __init__(self, value):
32  self.value = value
33 

Member Function Documentation

◆ __str__()

def __str__ (   self)

Definition at line 34 of file ioThinx_4530_API.py.

34  def __str__(self):
35  error = ["ok",
36  "init fail",
37  "wrong slot settings",
38  "wrong argument",
39  "wrong config",
40  "wrong range"
41  ]
42  return repr(error[self.value])
43 
44 

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