# -*- coding: utf-8 -*-
"""The Virtual File System (VFS) error classes."""
[docs]
class Error(Exception):
"""Parent class for dfVFS specific errors."""
[docs]
class AccessError(Error):
"""Error indicating that a resource could not be accessed."""
[docs]
class BackEndError(Error):
"""Error indicating that a dependency has encountered a problem."""
[docs]
class CacheFullError(Error):
"""Error indicating a cache is full."""
[docs]
class MountPointError(Error):
"""Error indicating a mount point does not exist."""
[docs]
class NotSupported(Error):
"""Error indicating that unsupported functionality was requested."""
[docs]
class PathSpecError(Error):
"""Error indicating a problem with a path specification."""
[docs]
class ScannerError(Error):
"""Error indicating that an item could not be scanned."""
[docs]
class UserAbort(Error):
"""Exception indicating that the user initiated an abort."""
[docs]
class VolumeSystemError(Error):
"""Error indicating a problem with a volume system."""