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

Public Member Functions

def __init__
 
def __repr__
 
- Public Member Functions inherited from Error
def __str__
 

Data Fields

 url
 
 errcode
 
 errmsg
 
 headers
 

Detailed Description

Indicates an HTTP protocol error.

Definition at line 173 of file xmlrpclib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  url,
  errcode,
  errmsg,
  headers 
)

Definition at line 175 of file xmlrpclib.py.

176  def __init__(self, url, errcode, errmsg, headers):
177  Error.__init__(self)
178  self.url = url
179  self.errcode = errcode
180  self.errmsg = errmsg
self.headers = headers

Member Function Documentation

def __repr__ (   self)

Definition at line 181 of file xmlrpclib.py.

References RobotFileParser.errcode, ProtocolError.errcode, URLopener.errcode, ProtocolError.errmsg, RobotFileParser.url, ProtocolError.url, and addinfourl.url.

182  def __repr__(self):
183  return (
184  "<ProtocolError for %s: %s %s>" %
185  (self.url, self.errcode, self.errmsg)
186  )

Field Documentation

errcode

Definition at line 178 of file xmlrpclib.py.

errmsg

Definition at line 179 of file xmlrpclib.py.

headers

Definition at line 180 of file xmlrpclib.py.

url

Definition at line 177 of file xmlrpclib.py.


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