Exception: Modbus::ServerDeviceFailure

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

Constant Summary collapse

CODE =
0x04

Instance Attribute Summary

Attributes inherited from ModbusError

#code

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'SERVER DEVICE FAILURE') ⇒ ServerDeviceFailure

Returns a new instance of ServerDeviceFailure.



45
46
47
# File 'lib/modbus/exceptions.rb', line 45

def initialize(msg = 'SERVER DEVICE FAILURE')
  super
end