Exception: ModBus::Errors::IllegalFunction

Inherits:
ModBusException show all
Defined in:
lib/rmodbus/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ IllegalFunction

Returns a new instance of IllegalFunction.



12
13
14
# File 'lib/rmodbus/errors.rb', line 12

def initialize(msg = nil)
  super(msg || "The function code received in the query is not an allowable action for the server")
end