https://github.com/TMiguelT/ArgparsePrompt/blob/aeff7263e2e3aa0a5f25610987808cec6aa322f8/argparse_prompt.py#L94
This library catches a BaseException in Prompt.__call__() this should catch only the specific exceptions that are expected, and raise instead of exit(1) so that I can catch errors and handle them