class WWWError(Error): (source)
Known subclasses: zim.www.WebPageNotFoundError
, zim.www.WebPathNotValidError
Method | __init__ |
No summary |
Class Variable | statusstring |
Undocumented |
Instance Variable | headers |
Undocumented |
Instance Variable | msg |
Undocumented |
Instance Variable | status |
Undocumented |
Inherited from Error
:
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Instance Variable | description |
Undocumented |
zim.errors.Error.__init__
zim.www.WebPageNotFoundError
, zim.www.WebPathNotValidError
Parameters | |
msg | specific error message - will be appended after the standard error string |
status | error code, e.g. '500' for "Internal Server Error" or '404' for "Not Found" - see http specifications for valid error codes |
headers | additional http headers for the error response, list of 2-tuples with header name and value |