- Main
- Tutorials
- Library
- Samples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

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.

11 def __init__(self, value):
12 self.value = value
13
ioThinx_4530.ioThinx_4530_API.ioThinxError.__init__
def __init__(self, value)
Definition: ioThinx_4530_API.py:11
ioThinx_4530.ioThinx_4530_API.ioThinxError.value
value
Definition: ioThinx_4530_API.py:12

## 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
ioThinx_4530.ioThinx_4530_API.ioThinxError.__str__
def __str__(self)
Definition: ioThinx_4530_API.py:14
ioThinx_4530.ioThinx_4530_API.ioThinxError.value
value
Definition: ioThinx_4530_API.py:12

## Field Documentation

value

Definition at line 12 of file ioThinx_4530_API.py.

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

- library/iothinx/python/ioThinx_4530/ioThinx_4530_API.py