Fluid-based error handler¶
The Fluid-based error handler is defined in EXT:core/Classes/Error/PageErrorHandler/FluidPageErrorHandler.php (GitHub).
Properties¶
The Fluid-based error handler has the properties Properties and Properties, and the following:
-
error
¶Fluid Template -
- type
-
string
- Example
-
EXT:
my_ sitepackage/ Resources/ Private/ Templates/ Sites/ Error. html
The path to the Fluid template file. Path may be
- absolute
- relative to site root
- starting with
EXT:
for files from an extension
-
error
¶Fluid Templates Root Path -
- type
-
string [optional]
- Example
-
EXT:
my_ sitepackage/ Resources/ Private/ Templates/ Sites/
The paths to the Fluid templates in case more flexibility is needed.
-
error
¶Fluid Partials Root Path -
- type
-
string [optional]
- Example
-
EXT:
my_ sitepackage/ Resources/ Private/ Partials/ Sites/
The paths to the Fluid partials in case more flexibility is needed.
-
error
¶Fluid Layouts Root Path -
- type
-
string [optional]
- Example
-
EXT:
my_ sitepackage/ Resources/ Private/ Layouts/ Sites/
The paths to Fluid layouts in case more flexibility is needed.
Example¶
Show the content of a Fluid template in case of an error with HTTP status 404: