code: def cancel_cause_not_found(
      current: Optional[Union["Path", Text]],
      parameter: Text,
      default: Optional[Union["Path", Text]],
  ) -> None:
      """Exits with an error because the given path was not valid.
  
      Args:
          current: The path given by the user.
          parameter: The name of the parameter.
          default: The default value of the parameter.
  
      """
      default_clause = ""
      if default:
          default_clause = f"use the default location ('{default}') or "
      rasa.shared.utils.cli.print_error(
          "The path '{}' does not exist. Please make sure to {}specify it"
          " with '--{}'.".format(current, default_clause, parameter)
      )
      sys.exit(1)
  
imports: import json
  import argparse
  import logging
  import os
  import sys
  import time
  from types import FrameType
  from typing import Any, Dict, List, Optional, TYPE_CHECKING, Text, Union, overload
  import randomname
  import rasa.shared.utils.cli
  import rasa.shared.utils.io
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.constants import ASSISTANT_ID_DEFAULT_VALUE, ASSISTANT_ID_KEY, DEFAULT_CONFIG_PATH
  from rasa.shared.utils.cli import print_error
  from rasa import telemetry
label_desc: Use image node_id 13 for calling a global function with example usage: cancel_cause_not_found(current, parameter, default) without return types