Exception: Modbus::IllegalFunction

Inherits:
ModbusError
  • Object
show all
Defined in:
lib/modbus/exceptions.rb

Constant Summary collapse

CODE =
0x01

Instance Attribute Summary

Attributes inherited from ModbusError

#code

Instance Method Summary collapse

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