ValueWidthMismatchException constructor

ValueWidthMismatchException(
  1. LogicValue a,
  2. LogicValue b
)

Creates an exception when two LogicValue considered for the operation are of different width.

Implementation

ValueWidthMismatchException(LogicValue a, LogicValue b)
    : super('Width mismatch between $a (${a.width}) & $b (${b.width}): '
          'LogicValues must be of same width for this operation.');