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

    Class ModbusCircuitOpenError

    Error indicating the transport's circuit breaker is open: the device is unreachable and the transport is reconnecting (or waiting to probe again), so the request was refused without touching the wire.

    This is a local error — it is never returned by modbus-rs. It is raised by the transport when its connection state is Reconnecting or Down, which keeps a dead device from being hammered by every caller at once.

    Retryable by default: a policy with enough budget rides out the outage cheaply, since each refused attempt costs nothing on the bus.

    ConnectionState — The transport state that produces this error.

    Hierarchy

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

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

          The failure that opened the circuit, or a descriptive error.

        • Readonlymessage: string

          Human-readable explanation of the error.

      Returns ModbusCircuitOpenError

    cause: Error

    The cause of the error.

    message: string

    Human-readable explanation of the error.