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

    Class ModbusInternalError

    Error indicating an internal library error not covered by other categories.

    Mapped from any unrecognized error code returned by getModbusErrorCode (acts as the catch-all fallback).

    ModbusErrorCode.INTERNAL — modbus-rs error code for internal failures.

    Hierarchy

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

    cause: Error

    The cause of the error.

    message: string

    Error message from the underlying modbus-rs error.