This bean aims to generate the error page html for inclusion on a facelet error page via
. When performing this include the facelet
"myfaces-dev-error-include.xhtml" will be included. This facelet references to the ErrorPageBean.
This also works for custom error page templates.
The bean is added to the ViewMap of the UIViewRoot, which is
displaying the error page, in RestoreViewExecutor.execute().