summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/exceptions.py
blob: 71591bf7b585de1bb6d1ff57ba5b3fc257c392f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class ConfigError(Exception):
    '''
    Custom exception thrown when there is an unrecoverable configuration error.
    For example, a required configuration key is not found.
    '''
    pass


class ExecutionError(Exception):
    '''
    Custom exception thrown when a command executed by Glusto results in an
    unrecoverable error.

    For example, all hosts are not in peer state or a volume canot be setup.

    '''
    pass