code: def parse_exception(line):
      '''Parse the first line of a Cartouche exception description.
  
      Args:
          line (str): A single line Cartouche exception description.
  
      Returns:
          A 2-tuple containing the exception type and the first line of the description.
      '''
      m = RAISES_REGEX.match(line)
      if m is None:
          raise CartoucheSyntaxError('Cartouche: Invalid argument syntax "{line}" for Raises block'.format(line=line))
      return m.group(2), m.group(1f parse_exception(line):
      '''Parse the first line of a Cartouche exception description.
  
      Args:
          line (str): A single line Cartouche exception description.
  
      Returns:
          A 2-tuple containing the exception type and the first line of the description.
      '''
      m = RAISES_REGEX.match(line)
      if m is None:
          raise CartoucheSyntaxError('Cartouche: Invalid argument syntax "{line}" for Raises block'.format(line=line))
      return m.group(2), m.group(1)
docs: Parse the first line of a Cartouche exception description.
  
      Args:
          line (str): A single line Cartouche exception description.
  
      Returns:
          A 2-tuple containing the exception type and the first line of the description.