Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
Error Class Reference
Inheritance diagram for Error:
ConversionError

Public Member Functions

def __init__
 
def __repr__
 
def __str__
 

Data Fields

 msg
 

Detailed Description

Exception class for this module. Use:

except xdrlib.Error, var:
    # var has the Error instance for the exception

Public ivars:
    msg -- contains the message

Definition at line 16 of file xdrlib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  msg 
)

Definition at line 26 of file xdrlib.py.

26 
27  def __init__(self, msg):
self.msg = msg

Member Function Documentation

def __repr__ (   self)

Definition at line 28 of file xdrlib.py.

References NetrcParseError.msg, GetoptError.msg, Error.msg, HTTPResponse.msg, and HTTPError.msg.

28 
29  def __repr__(self):
return repr(self.msg)
def __str__ (   self)

Definition at line 30 of file xdrlib.py.

References NetrcParseError.msg, GetoptError.msg, Error.msg, HTTPResponse.msg, HTTPError.msg, and locale.str().

30 
31  def __str__(self):
32  return str(self.msg)
33 

Field Documentation

msg

Definition at line 27 of file xdrlib.py.


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