pylabrobot.hamilton.transport.tcp.HoiError#

exception pylabrobot.hamilton.transport.tcp.HoiError(*, exceptions: Dict[int, Exception], entries: List[HcResultEntry], raw_response: bytes, action: int | None = None)#

Bases: Exception

Raised for STATUS_EXCEPTION / COMMAND_EXCEPTION when the command wire shape does not carry per-channel parameters (e.g. void MLPrep queries).

Preserves offline per-entry descriptions and the original payload, including errors without parseable entries. exceptions is keyed by wire entry index; action identifies the terminal HOI action. Use entries for raw HcResultEntry data.

Parameters:
  • exceptions (Dict[int, Exception])

  • entries (List[HcResultEntry])

  • raw_response (bytes)

  • action (Optional[int])

Return type:

None