summaryrefslogtreecommitdiffstats
path: root/gluster/exceptions.py
blob: 05496f0ce0a06efc14b426f83621574ed808428e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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