module Modbus
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Copyright © 2016 Andy Rohr <andy.rohr@mindclue.ch> All rights reserved.
Constants
- ClientError
- ModbusError
- VERSION
Public Class Methods
# File lib/modbus/exceptions.rb, line 90 def self.find_exception(code) exceptions = [ IllegalFunction, IllegalDataAddress, IllegalDataValue, ServerDeviceFailure, Acknowledge, ServerDeviceBusy, MemoryParityError, GatewayPathUnavailable, GatewayTargetDeviceFailedToRespond ] exceptions.find { |e| e::CODE == code } || RuntimeError end