class_docstr: Parser object handling the upper-level parsing of Oríon's arguments.
docstr: Execute main function of the subparser
docstr_tok: ["Execute","main","function","of","the","subparser"]
code: def execute(self, argv):
      """Execute main function of the subparser"""
      try:
          args, function = self.parse(argv)
          returncode = function(args)
      except (
          NoConfigurationError,
          NoNameError,
          DatabaseError,
          MissingResultFile,
          BranchingEvent,
          InexecutableUserScript,
      ) as e:
          print("Error:", e, file=sys.stderr)
  
          if args.get("verbose", 0) >= 2:
              raise e
  
          return 1
  
      except KeyboardInterrupt:
          print("Orion is interrupted.")
          return 130
  
      return 0 if returncode is None else returncode
  
file_path: orion/src/orion/core/cli/base.py
imports: import argparse
  import logging
  import os
  import sys
  import textwrap
  import orion
  import orion.core
  from orion.core.io.database import DatabaseError
  from orion.core.utils.exceptions import BranchingEvent, InexecutableUserScript, MissingResultFile, NoConfigurationError, NoNameError
label_desc: Use image node_id 4 for calling the OrionArgsParser obj's underlying member method code with example usage: obj.execute(argv) and returns: unknown, int, int