Home | Trees | Index | Help |
---|
Module cups :: Class IPPError |
|
object
--+ |BaseException
--+ |Exception
--+ | IPPError
This exception is raised when an IPP error has occurred. It provides an integer IPP status code, and a human-readable string describing the error.
Use it like this:try: ... except cups.IPPError (status, description): print 'IPP status is %d' % status print 'Meaning:', description
Method Summary | |
---|---|
Inherited from Exception | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Inherited from BaseException | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__getitem__(y) <==> x[y] | |
| |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
| |
x.__str__() <==> str(x) | |
Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle |
Class Variable Summary | |
---|---|
Inherited from BaseException | |
getset_descriptor |
args = <attribute 'args' of 'exceptions.BaseException' o...
|
member_descriptor |
message = <member 'message' of 'exceptions.BaseException...
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Feb 2 06:23:09 2008 | http://epydoc.sf.net |