Total Complexity | 1 |
Total Lines | 7 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | """Shared exceptions.""" |
||
8 | 1 | class ShellError(RuntimeError): |
|
9 | """Raised when a shell call has a non-zero return code.""" |
||
10 | |||
11 | 1 | def __init__(self, *args, **kwargs): |
|
12 | 1 | self.program = kwargs.pop('program', None) |
|
13 | 1 | self.output = kwargs.pop('output', None) |
|
14 | 1 | super().__init__(*args, **kwargs) |
|
15 | |||
27 |