diff options
Diffstat (limited to 'gluster/swift/common/exceptions.py')
-rw-r--r-- | gluster/swift/common/exceptions.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gluster/swift/common/exceptions.py b/gluster/swift/common/exceptions.py index 75a95ec..ec74353 100644 --- a/gluster/swift/common/exceptions.py +++ b/gluster/swift/common/exceptions.py @@ -14,10 +14,22 @@ # limitations under the License. +class GlusterFileSystemOSError(OSError): + pass + + +class GlusterFileSystemIOError(IOError): + pass + + class GlusterfsException(Exception): pass +class FailureToMountError(GlusterfsException): + pass + + class FileOrDirNotFoundError(GlusterfsException): pass @@ -28,3 +40,7 @@ class NotDirectoryError(GlusterfsException): class AlreadyExistsAsDir(GlusterfsException): pass + + +class AlreadyExistsAsFile(GlusterfsException): + pass |