Error Page Template
- Name:
errorPageTemplate - Url: Any route that results in an error
- Description: Template rendered when the webapp encounters an error, such as a 404 Not Found or a server-side error. Provides a simple way to display error information to the user.
Default Template
<h2>{{error.code}}, {{error.message}}</h2>
Properties
error
- Type:
object
An object containing details about the error that occurred.
| Property | Type | Description |
|---|---|---|
code | number | HTTP status code of the error (e.g. 404, 500) |
message | string | Human-readable error message |
Example usage:
<div class="ta-error-page">
<h1>Oops! Something went wrong.</h1>
<p>Error {{ error.code }}: {{ error.message }}</p>
<a href="/">Go back to homepage</a>
</div>
mainConfig
See documentation here
is_authorized
See documentation here