Handles an error with specified options. Logs, displays to user, and offers actions based on configuration.
The error to handle.
Error handling options.
Shows a user-friendly error notification.
User-friendly error message.
Severity level (default: "error").
Optional actions for the user.
Wraps an async operation with automatic error handling. Catches errors and handles them according to options.
Async operation to wrap.
Error handling options.
Operation result or undefined on error.
Centralized error handler service. Provides consistent error handling across the extension.