Construct Pro and Construct Unified support customized error pages that can match your template. The error page is based on the standard Construct layout, contains a number of independently set parameter, and can be overridden using a layout override.
The error pages are generated by
error.php. Within the top portion of this file are a number of variables allowing the configuration of your error pages. These variables begin after the note
// Manually set and define template parameters. Each variable coincides with a back-end parameter available within Construct and do need to be set manually regardless of what you set in the template manager. By default, these variables are pre-configured to the default settings used by Construct and will be suitable for most cases. The exception to this is
$customStyleSheet which is the name of your custom style sheet. It will need to be set to the name of your custom style sheet.
error.php can also be overridden by creating a layout override in the
layouts folder, named
error.php. There is a starter error override file located in the installation package.