code: def exceptions_log_path(cls, for_pid=None, in_dir=None):
      
      if for_pid is None:
        intermediate_filename_component = ''
      else:
        assert(isinstance(for_pid, IntegerForPid))
        intermediate_filename_component = '.{}'.format(for_pid)
      in_dir = in_dir or cls._log_dir
      return os.path.join(
        in_dir,
        'logs',
        'exceptions{}.log'.format(intermediate_filename_component))
docs: Get the path to either the shared or pid-specific fatal errors log file.