error_display
appimage_updater.ui.error_display
¶
Centralized error display utilities.
console = Console()
module-attribute
¶
display_error(message, error_type='Error')
¶
Display error message using formatter.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message
|
str
|
Error message to display |
required |
error_type
|
str
|
Type of error (e.g., "Error", "Configuration error") |
'Error'
|
Note
Does not log to stdout as it contaminates JSON output