Custom error pages

All apps have a system-generated error page that you can override. To override, simply add a page with the reserved nav slug of /error and you can create and customize your own page. Error detail data is saved to the app model as app.error, and can be accessed in the error page. The error object looks like this:

{
	"error": {
		"code": "404",
		"description": "Page Not Found",
		"message": "Page not found for slug: nopage"
	}
}

Last updated