class documentation

class twisted.python.filepath.UnlistableError(OSError): (source)

View In Hierarchy

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 Variable originalException the actual original exception instance.
Method __init__ Create an UnlistableError exception.
originalException = (source)
the actual original exception instance.
def __init__(self, originalException): (source)

Create an UnlistableError exception.

ParametersoriginalExceptionan instance of OSError. (type: OSError)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.