@flux-control/effect-modbus-rs
    Preparing search index...

    Class ModbusInvalidArgumentError

    Error indicating an invalid argument was passed to a Modbus API call.

    Mapped from ModbusErrorCode.INVALID_ARGUMENT via modbus-rs. Typically thrown when register/coil addresses or quantities are out of range.

    ModbusErrorCode.INVALID_ARGUMENT — modbus-rs error code that triggers this error.

    Hierarchy

    • YieldableError<this> & {} & Readonly<{ cause: Error; message: string }>
      • ModbusInvalidArgumentError
    Index
    • Parameters

      • args: { cause: Error; message: string }
        • Readonlycause: Error

          Original error thrown by modbus-rs.

        • Readonlymessage: string

          Error message from the underlying modbus-rs error.

      Returns ModbusInvalidArgumentError

    cause: Error

    The cause of the error.

    message: string

    Error message from the underlying modbus-rs error.