The error message will be displayed using with flash now.