print_inst_conn_err¶
- pyrcs.utils.print_inst_conn_err(update=False, verbose=False, e=None)[source]¶
Print a message when an instance fails to establish an Internet connection.
- Parameters:
update (bool) – Reflects the
update
parameter from the parent function; defaults toFalse
verbose (bool | int) – Whether to print relevant information to the console; defaults to
False
.e (Exception | None) – An optional exception message to display.
Examples:
>>> from pyrcs.utils import print_inst_conn_err >>> print_inst_conn_err(verbose=True) The Internet connection is not available.