ValidationException class

Occurs when user-provided data is invalid.

Inheritance

Constructors

ValidationException(String message, {Iterable<String> errors: const []})

Properties

error ↔ dynamic
read / write, inherited
errors List<String>
A list of errors that resulted in the given data being marked invalid.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
A descriptive message describing the error.
read / write, final, inherited-setter, override-getter
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
The StackTrace associated with this error.
read / write, inherited
statusCode int
An HTTP status code this exception will throw.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map
inherited
toMap() Map
inherited
toString() String
Returns a string representation of this object.
override

Operators

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