Revision c41eea6e lib/errors.py
b/lib/errors.py | ||
---|---|---|
228 | 228 |
error should returned to the caller, and the second one will be the returned |
229 | 229 |
result (either as an error or as a normal result). |
230 | 230 |
|
231 |
Examples: |
|
231 |
Examples:: |
|
232 |
|
|
232 | 233 |
# Return a result of "True" to the caller, but quit ganeti afterwards |
233 | 234 |
raise QuitGanetiException(False, True) |
234 | 235 |
# Send an error to the caller, and quit ganeti |
Also available in: Unified diff