handle_network_error: Handle network/connection errors with retry suggestions
Description
Handle network/connection errors with retry suggestions
Usage
handle_network_error(error, context_msg = "")
Value
Stops execution with informative error message
Arguments
- error
The original error
- context_msg
Additional context for the error