Creates a flash message that is displayed to the user, optionally with an override that prepends the message and overrides the duration.
Shows only the first validation error (Docs)
Shows all validation errors within a dedicated error message container (Docs)
Shows error messages that target specific fields (Docs)