Completed
Push — develop ( b433df...d47bf1 )
by Jace
01:48
created

gdm.ShellError

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Test Coverage

Coverage 100%
Metric Value
dl 0
loc 2
ccs 1
cts 1
cp 1
wmc 0
1
"""Shared exepections."""
2
3
4 1
class InvalidConfig(ValueError):
5
    """Raised when the configuration file is invalid."""
6
7
8 1
class ShellError(Exception):
9
    """Raised when a shell call has a non-zero return code."""
10
11
12 1
class InvalidRepository(RuntimeError):
13
    """Raised when there is a problem with the checked out directory."""
14
15
16 1
class UncommittedChanges(RuntimeError):
17
    """Raised when uncommitted changes are not expected."""
18