PrismSubmissionException class

Thrown from a submit handler to surface per-field errors after a server-side rejection (e.g. "email already taken").

Implemented types

Constructors

PrismSubmissionException({Map<String, String> fieldErrors = const {}, String message = 'Submission failed'})
Creates a submission exception.
const

Properties

fieldErrors → Map<String, String>
Field name → error message, surfaced inline under each field.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Form-level message shown above the submit button.
final
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