Now.js Framework Documentation
ErrorRenderer
ErrorRenderer
ErrorRenderer - Renders formatted error pages Used to display beautiful error pages with full functionality
Generated from source on 2026-08-21. Descriptions come from JSDoc in the file.
Re-rundocs_scaffoldwhen the code changes; hand edits are lost on regeneration
Source
- File:
Now/js/ErrorRenderer.js(201 lines) - Form: ES class
Public methods (6)
static attachEventListeners(container, config)
Attach event listeners
static generateErrorHtml(error, config)
Generate error HTML
static render404(options = {})
Render 404 error
static renderAuthError(options = {})
Render authentication error
static renderError(error, options = {})
Render application error
static renderNetworkError(options = {})
Render network error
Data attributes used
data-action
Depends on
Utils