ValidationException class

Exception thrown when a validation error occurs.

Use this exception to indicate that some input or form data failed validation checks.

Inheritance

Constructors

ValidationException(String message, [StackTrace? stackTrace])

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the validation error.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Optional stack trace associated with where the error occurred.
finalinherited

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