Public Member Functions | Public Attributes | List of all members
basis.argparse.ArgumentError Class Reference
+ Inheritance diagram for basis.argparse.ArgumentError:
+ Collaboration diagram for basis.argparse.ArgumentError:

Public Member Functions

def __init__ (self, argument, message)
 
def __str__ (self)
 

Public Attributes

 argument_name
 
 message
 

Detailed Description

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.

Definition at line 710 of file argparse.py.

Constructor & Destructor Documentation

§ __init__()

def basis.argparse.ArgumentError.__init__ (   self,
  argument,
  message 
)

Definition at line 717 of file argparse.py.

Member Function Documentation

§ __str__()

def basis.argparse.ArgumentError.__str__ (   self)

Definition at line 721 of file argparse.py.

Member Data Documentation

§ argument_name

basis.argparse.ArgumentError.argument_name

Definition at line 718 of file argparse.py.

§ message

basis.argparse.ArgumentError.message

Definition at line 719 of file argparse.py.


The documentation for this class was generated from the following file: