summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'gluster/swift/common/exceptions.py')
-rw-r--r--gluster/swift/common/exceptions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gluster/swift/common/exceptions.py b/gluster/swift/common/exceptions.py
index d9357db..75a95ec 100644
--- a/gluster/swift/common/exceptions.py
+++ b/gluster/swift/common/exceptions.py
@@ -13,15 +13,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+
class GlusterfsException(Exception):
pass
+
class FileOrDirNotFoundError(GlusterfsException):
pass
+
class NotDirectoryError(GlusterfsException):
pass
+
class AlreadyExistsAsDir(GlusterfsException):
pass
-