// Example page_compiler_error handler. Enable in /etc/uce/settings.cfg: // page_compiler_error=site/errors/compiler-error.uce // Served with status 500 when the requested unit fails to build. The full // compiler output stays available in context.call["error"], so this page can // show as much or as little of it as the deployment wants. RENDER(Request& context) { DValue error = context.call["error"]; <> Build failed

This page failed to build

Source:

Generated C++:

}