ValidationException class

Occurs when user-provided data is invalid.

Inheritance
  • Object
  • AngelHttpException
  • ValidationException

Constructors

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

Properties

error ↔ dynamic
getter/setter pairinherited
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.
no setterinherited
message String
A descriptive message describing the error.
finalgetter/setter pairinherited-setteroverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The StackTrace associated with this error.
getter/setter pairinherited
statusCode int
An HTTP status code this exception will throw.
getter/setter pairinherited

Methods

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

Operators

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