pyre.filesystem.exceptions

Module Contents

exception pyre.filesystem.exceptions.GenericError(uri, **kwds)

Bases: pyre.framework.exceptions.FrameworkError

Base class for all errors in this package

Can be used as a catchall when detecting errors generated by this package

exception pyre.filesystem.exceptions.DirectoryListingError(error, **kwds)

Bases: pyre.filesystem.exceptions.GenericError

Exception raised when something goes wrong with listing the contents of a local directory

description = error while accessing '{0.uri}': {0.error}
exception pyre.filesystem.exceptions.MountPointError(error, **kwds)

Bases: pyre.filesystem.exceptions.GenericError

Exception generated when the root of a filesystem is invalid

description = error while mounting '{0.uri}': {0.error}
exception pyre.filesystem.exceptions.FilesystemError(filesystem, node, **kwds)

Bases: pyre.filesystem.exceptions.GenericError

Base class for all filesystem errors

Can be used as a catchall when detecting filesystem related exceptions

exception pyre.filesystem.exceptions.NotFoundError(fragment, **kwds)

Bases: pyre.filesystem.exceptions.FilesystemError

Exception raised when attempting to find a node and the supplied URI does not exist

description = while looking for {0.rep!r}: {0.fragment!r} not found
exception pyre.filesystem.exceptions.SourceNotFoundError

Bases: pyre.filesystem.exceptions.FilesystemError

Exception raised when attempting to find a node and the supplied URI does not exist

description = while looking for {0.rep!r}: file not found
exception pyre.filesystem.exceptions.FolderError(fragment, **kwds)

Bases: pyre.filesystem.exceptions.FilesystemError

Exception raised when a request is made for the contents of a node that is not a folder

description = while looking for {0.rep!r}: {0.fragment!r} is not a folder
exception pyre.filesystem.exceptions.IsFolderError

Bases: pyre.filesystem.exceptions.FilesystemError

Exception raised when a request is made to open a folder

description = while opening {0.rep!r}: can't open; it is a folder
exception pyre.filesystem.exceptions.FolderInsertionError(target, **kwds)

Bases: pyre.filesystem.exceptions.FilesystemError

Exception raised when attempting to insert a node in a filsystem and the target node is not a folder

description = error while inserting {0.rep!r}: {0.target!r} is not a folder
exception pyre.filesystem.exceptions.NotRootError

Bases: pyre.filesystem.exceptions.FilesystemError

Exception raised when attempting to insert a node with an absolute uri at a location other than the root of the filesystem a folder

description = cannot insert absolute path {0.rep!r} in node {0.target!r}
exception pyre.filesystem.exceptions.URISpecificationError(reason, **kwds)

Bases: pyre.filesystem.exceptions.GenericError

Exception raised when the supplied uri cannot be decoded

description = {0.rep!r}: {0.reason}