docs: def add_info_to_exception(err: Exception, info: Dict) -> None:
      """
      Adds an information dictionary to an exception.
      
      See
      http://stackoverflow.com/questions/9157210/how-do-i-raise-the-same-exception-with-a-custom-message-in-python
      
      Args:
          err: the exception to be modified
          info: the information to add
      """  # noqa
      if not err.args:
          err.args = ('', )
      err.args += (info, )