argparse.ArgumentError

exception argparse.ArgumentError(argument, message)[source]

An error from creating or using an argument (optional or positional).

The string value of this exception is the message, augmented with information about the argument that caused it.