twisted.python.filepath.UnlistableError(OSError)
class documentationtwisted.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 Variable | originalException | the actual original exception instance, either an OSError
or a WindowsError . |
Method | __init__ | Create an UnlistableError exception. |
Create an UnlistableError exception.
Parameters | originalException | an instance of OSError. |