PortWidthMismatchException.equalWidth constructor

PortWidthMismatchException.equalWidth(
  1. Logic port1,
  2. Logic port2
)

Constructs a new Exception for when two ports should have been the same width, but were not.

Implementation

PortWidthMismatchException.equalWidth(Logic port1, Logic port2)
    : super('Expected ports $port1 and $port2 to be the same width,'
          ' but they are not.');