• Displays an error notification to the user.

    Parameters

    • error: AppError

      The AppError to display.

    Returns void

    This is a placeholder that should be integrated with your UI notification system.

    export function showErrorNotification(error: AppError): void {
    console.error("Error:", error.message, error);

    if (typeof window !== "undefined") {
    alert(`Error: ${error.message}`);
    }
    }