ArgumentParser.error¶
-
ArgumentParser.
error
(message: str)[source]¶ Avoids the call to
sys.exit()
when an error is encountered.- Raises
MessageError – Custom exception just for this purpose.
ArgumentParser.
error
(message: str)[source]¶Avoids the call to sys.exit()
when an error is encountered.
MessageError – Custom exception just for this purpose.