Friendly Error message in Sharepoint Environment

How many of you got bit annoyed seeing full call trace of the error in your SharePoint environment A sample error message is shown below.

Server Error in '/' Application.


 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

Runtime Error

Description:
An application error occurred on the server. The current custom error
settings for this application prevent the details of the application error from
being viewed remotely (for security reasons). It could, however, be viewed by
browsers running on the local server machine.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
To resolve this use, use Callstack information to false to see friendly error message. 
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <configuration>
  ...
  <SharePoint>
   <SafeMode MaxControls="200"
             CallStack="false"
             DirectFileDependencies="10"
             TotalFileDependencies="50"
             AllowPageLevelTrace="false">
    ...
   </SafeMode>
   ...
 </SharePoint>
 ...
</configuration>
 
Happy Share Pointing :-)