ValidationException class

Exception thrown when a validation error occurs.

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

Implemented types

Constructors

ValidationException.new(String message, [StackTrace? stackTrace])
Creates a ValidationException with a message describing the issue.

Properties

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

Methods

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

Operators

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