Now.js Framework Documentation
ErrorRecoveryManager
ErrorRecoveryManager
ErrorRecoveryManager - manages error recovery strategies
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/ErrorRecoveryManager.js(242 lines) - Form: object literal (singleton)
Public methods (8)
async attemptRecovery(errorInfo, context = {})
Attempt error recovery
async clearCache(config, errorInfo, context)
Clear cache strategy
async enableOfflineMode(config, errorInfo, context)
Enable offline mode
async executeRecoveryStrategy(config, errorInfo, context)
Execute recovery strategy
async navigateToFallback(config, errorInfo, context)
Navigate to fallback route
async refreshToken(config, errorInfo, context)
Refresh token strategy
async reloadPage(config, errorInfo, context)
Reload page strategy
async retryOperation(config, errorInfo, context)
Retry operation strategy
Depends on
ApiService · EventManager · NotificationManager · RedirectManager · RouterManager
Events
| Event | When Triggered | Detail |
|---|---|---|
app:offline |
The app went offline | {reason} |