InvalidRequestException class final

The backend rejected the request body (HTTP 422), or we rejected it first.

Inheritance

Constructors

InvalidRequestException(String message, {String? field})
Creates an invalid-request error naming the offending field.
const

Properties

field String?
The field the backend (or local validation) objected to.
final
hashCode int
The hash code for this object.
no setterinherited
message String
What went wrong, in plain language.
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.
override

Operators

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