function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MiddhaMiddha 

Visualforce Custom Error Page

Hi,
 
Is there any way we can set a custom error page if any uncaught exception occurs in the code, similarly we do in any of the webserver.
 
Currently if a page/class throws any such error, a salesforce error page is shown which asks to contact support@salesforce.com with an error Id.  Can we put our own custom visual force error page in place.
 
[GM]
mtbclimbermtbclimber
No you can not do this today. It is on our roadmap to provide an override for uncaught exceptions and it is highly prioritized. 

For what it's worth in the next release though the style is still that of salesforce the error message is more specific and aware of when the exception is due to a platform issue (please contact salesforce) and when it is not.
AxxxVAxxxV
Hi Andrew,
 
Has this functionality beed added since the last post?
MiddhaMiddha
This is a part of sites, it would be available once sites are activated.
AxxxVAxxxV
Has the date been announced or a least an approximate time frame?
SunilguptaSunilgupta
Hi Andrew,
 
Has this functionality beed added since the last post?
Vic HsuVic Hsu

Is this function ready now?

 

thanks.