hil2.hil_errors

 1class SerialError(Exception):
 2    """
 3    Error representing something going wrong relating to the serial
 4    connection/commands/responses
 5    """
 6
 7    pass
 8
 9
10class EngineError(Exception):
11    """
12    Error representing something going wrong relating to the HIL2 engine
13    """
14
15    pass
16
17
18class ConfigurationError(Exception):
19    """
20    Error representing something wrong with the configuration
21    """
22
23    pass
24
25
26class ConnectionError(Exception):
27    """
28    Error representing something going wrong when trying to map between HIL and DUT
29    connections
30    """
31
32    pass
33
34
35class RangeError(Exception):
36    """
37    Error representing a value is out of range
38    """
39
40    pass
class SerialError(builtins.Exception):
2class SerialError(Exception):
3    """
4    Error representing something going wrong relating to the serial
5    connection/commands/responses
6    """
7
8    pass

Error representing something going wrong relating to the serial connection/commands/responses

class EngineError(builtins.Exception):
11class EngineError(Exception):
12    """
13    Error representing something going wrong relating to the HIL2 engine
14    """
15
16    pass

Error representing something going wrong relating to the HIL2 engine

class ConfigurationError(builtins.Exception):
19class ConfigurationError(Exception):
20    """
21    Error representing something wrong with the configuration
22    """
23
24    pass

Error representing something wrong with the configuration

class ConnectionError(builtins.Exception):
27class ConnectionError(Exception):
28    """
29    Error representing something going wrong when trying to map between HIL and DUT
30    connections
31    """
32
33    pass

Error representing something going wrong when trying to map between HIL and DUT connections

class RangeError(builtins.Exception):
36class RangeError(Exception):
37    """
38    Error representing a value is out of range
39    """
40
41    pass

Error representing a value is out of range