User-friendly messages in Visualforce

Ensure that Visualforce pages and components display errors in a user-friendly manner.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over a week ago


As a best practice  pages should present errors in a friendly manner. Without including any  message tags, such as apex:pageMessages , apex:pageMessages, and apex:messages, most warning and error messages are only shown in the debug log.


  • Visualforce pages

  • Visualforce components

Did this answer your question?