t.p.f.UnlistableError(OSError) : class documentation

Part of twisted.python.filepath View Source View In Hierarchy

Known subclasses: twisted.python.filepath._WindowsUnlistableError

An exception which is used to distinguish between errors which mean 'this is not a directory you can list' and other, more catastrophic errors.

This error will try to look as much like the original error as possible, while still being catchable as an independent type.
Instance VariablesoriginalExceptionthe actual original exception instance, either an OSError or a WindowsError.
Method __init__ Create an UnlistableError exception.
def __init__(self, originalException): (source)
Create an UnlistableError exception.
ParametersoriginalExceptionan instance of OSError.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.