code: def __init__(self, cause: Exception):
      self.cause = cause
      message = """
  {h1}
  ----NeptuneConnectionLostException---------------------------------------------------------
  {end}
  The connection to the Neptune server was lost.
  If you are using the asynchronous (default) connection mode, Neptune continues to locally track your metadata and continuously tries to re-establish a connection to the Neptune servers.
  If the connection is not re-established, you can upload your data later with the Neptune Command Line Interface tool:
      {bash}neptune sync -p workspace_name/project_name{end}
  
  What should I do?
      - Check if your computer is connected to the internet.
      - If your connection is unstable, consider working in offline mode:
          {python}run = neptune.init_run(mode="offline"){end}
  
  You can find detailed instructions on the following doc pages:
      - https://docs.neptune.ai/api/connection_modes/#offline-mode
      - https://docs.neptune.ai/api/neptune_sync/
  
  You may also want to check the following docs page:
      - https://docs.neptune.ai/api/connection_modes/#connectivity-issues
  
  {correct}Need help?{end}-> https://docs.neptune.ai/getting_help
  """  # noqa: E501
      super().__init__(message.format(**STYLES))
  
imports: import platform
  from neptune.common.envs import API_TOKEN_ENV_NAME, PROJECT_ENV_NAME
label_desc: Use image node_id 1 to create a new NeptuneConnectionLostException object from inherited base classes: NeptuneException with example: obj = NeptuneConnectionLostException(cause)