Module: error

Provides global error handling and user-friendly error messages for the application. Displays error notifications and logs issues for debugging.
Source:

Methods

(inner) handleErrorAndRedirect(message) → {void}

Stores an error message in localStorage and redirects to the error page.
Parameters:
Name Type Description
message string The error message to display on the error page.
Source:
Returns:
Type
void

(inner) msg() → {void}

Retrieves and displays the stored error message from localStorage, if present. Removes the message from storage after displaying.
Source:
Returns:
Type
void