simbad.exit module

Exit utility for catching errors and printing unified error messages

exit_error(exc_type, exc_value, exc_traceback)[source]

Exit on error collecting as much information as we can.

Parameters:
  • exc_type (str) – The exception type
  • exc_value (str) – The exception value
  • exc_traceback – The exception traceback

Warning

This function terminates the program after printing appropriate error messages.