summaryrefslogtreecommitdiffstats
path: root/gluster/gfapi/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'gluster/gfapi/exceptions.py')
-rw-r--r--gluster/gfapi/exceptions.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/gluster/gfapi/exceptions.py b/gluster/gfapi/exceptions.py
new file mode 100644
index 0000000..05496f0
--- /dev/null
+++ b/gluster/gfapi/exceptions.py
@@ -0,0 +1,21 @@
+# Copyright (c) 2016 Red Hat, Inc.
+#
+# This file is part of libgfapi-python project which is a
+# subproject of GlusterFS ( www.gluster.org)
+#
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
+
+
+class LibgfapiException(Exception):
+ pass
+
+
+class VolumeNotMounted(LibgfapiException):
+ pass
+
+
+class Error(EnvironmentError):
+ pass