Rationale

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.

Scope

  • Visualforce pages

  • Visualforce components

Did this answer your question?