Enables or disables intercept-errors
and cover-errors-with-cache
functionality. When enabled, intercept-errors
buffers gear output so that exceptions can be handled before any gear content is displayed. If cover-errors-with-cache
is enabled and an error or timeout occurs while a gear is rendering, cached content will be displayed instead of the error.
Sub-elements
Element | Value Attribute |
---|---|
|
|
|
|
Error Handling Example
<error-handling> <intercept-errors value="true"/> <cover-errors-with-cache value="true"/> </error-handling>