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

    Class ModbusConnectionClosedError

    Error indicating the transport connection was closed unexpectedly.

    Mapped from ModbusErrorCode.CONNECTION_CLOSED via modbus-rs. The transport can be re-established using reconnect() on the transport service.

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

    Hierarchy

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

    cause: Error

    The cause of the error.

    message: string

    Error message from the underlying modbus-rs error.