class FormError implements Serializable
Wraps errors in forms.
Methods
__construct(string $message, string|null $messageTemplate = null, array $messageParameters = array(), int|null $messagePluralization = null, mixed $cause = null) Constructor.
string getMessage() Returns the error message.
string getMessageTemplate() Returns the error message template.
array getMessageParameters() Returns the parameters to be inserted in the message template.
int|null getMessagePlur