Revision 24ff0a35 kamaki/cli/errors.py
b/kamaki/cli/errors.py | ||
---|---|---|
68 | 68 |
|
69 | 69 |
class CLICmdSpecError(CLIError): |
70 | 70 |
def __init__( |
71 |
self, |
|
72 |
message='Command Specification Error', |
|
73 |
details=[], |
|
74 |
importance=0): |
|
71 |
self, message='Command Specification Error', |
|
72 |
details=[], importance=0): |
|
75 | 73 |
super(CLICmdSpecError, self).__init__(message, details, importance) |
76 | 74 |
|
77 | 75 |
|
78 | 76 |
class CLICmdIncompleteError(CLICmdSpecError): |
79 | 77 |
def __init__( |
80 |
self, |
|
81 |
message='Incomplete Command Error', |
|
82 |
details=[], |
|
83 |
importance=1): |
|
78 |
self, message='Incomplete Command Error', |
|
79 |
details=[], importance=1): |
|
84 | 80 |
super(CLICmdSpecError, self).__init__(message, details, importance) |
85 | 81 |
|
86 | 82 |
|
Also available in: Unified diff