Exception: Modbus::IllegalFunction
- Inherits:
-
ModbusError
- Object
- StandardError
- ModbusError
- Modbus::IllegalFunction
- Defined in:
- lib/modbus/exceptions.rb
Constant Summary collapse
- CODE =
0x01
Instance Attribute Summary
Attributes inherited from ModbusError
Instance Method Summary collapse
-
#initialize(msg = 'ILLEGAL FUNCTION') ⇒ IllegalFunction
constructor
A new instance of IllegalFunction.
Constructor Details
#initialize(msg = 'ILLEGAL FUNCTION') ⇒ IllegalFunction
Returns a new instance of IllegalFunction.
21 22 23 |
# File 'lib/modbus/exceptions.rb', line 21 def initialize(msg = 'ILLEGAL FUNCTION') super end |