print_inst_conn_err
- pyrcs.utils.print_inst_conn_err(update=False, verbose=False, e=None)
Print a message about unsuccessful attempts to establish a connection to the Internet (for an instance of a class).
- Parameters
update (bool) – mostly complies with
update
in a parent function that uses this function, defaults toFalse
verbose (bool or int) – whether to print relevant information in console, defaults to
False
e (Type[Exception] or None) – error message
Example:
>>> from pyrcs.utils import print_inst_conn_err >>> print_inst_conn_err(verbose=True) The Internet connection is not available.