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

    Class ModbusTimeoutError

    Error indicating a request timed out while waiting for a response.

    Mapped from ModbusErrorCode.TIMEOUT via modbus-rs. Adjust timeouts via setRequestTimeout on the transport, or configure with requestTimeoutMs or responseTimeoutMs, where the binding supports them.

    The transport also raises this error locally when an operation waits for an open or reconnect longer than the connectTimeout transport option.

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

    Hierarchy

    • YieldableError<this> & {} & Readonly<{ cause: Error; message: string }>
      • ModbusTimeoutError
    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 ModbusTimeoutError

    cause: Error

    The cause of the error.

    message: string

    Error message from the underlying modbus-rs error.