Exceptions

This module contains exception codes.

exception HardwareVerificationError(expected, actual, message=None)

Raised when a hardware value does not match the expected value after setting.

__init__(expected, actual, message=None)

Initialise a new HardwareVerificationError message.

Parameters:
  • expected (Any) – the expected value read from hardware.

  • actual (Any) – the actual value read from hardware.

  • message (Optional[str]) – a bespoke message to override the default message.