SignalWidthMismatchException class

An Exception thrown when a signal has the wrong width.

Inheritance

Constructors

SignalWidthMismatchException(Logic signal, int expectedWidth, {String additionalMessage = ''})
Constructs a new Exception for when a signal has the wrong width.
SignalWidthMismatchException.forDynamic(dynamic val, int expectedWidth, int actualWidth, {String additionalMessage = ''})
Constructs a new Exception for when a dynamic has a wrong width.
SignalWidthMismatchException.forNull(dynamic val)
Constructs a new Exception for when a dynamic has no width or it could not be inferred.
SignalWidthMismatchException.forWidthOverflow(int actualWidth, int maxWidth, {String? customMessage})
Constructs a new Exception for when a dynamic has a wrong width.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A description of what this exception means.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited