Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 """Module containing update exceptions.""" | |
| 6 | |
| 7 class UpdateException(Exception): | |
| 8 """Exception thrown when _UpdateImage or _UpdateUsingPayload fail""" | |
| 9 def __init__(self, code, stdout): | |
| 10 self.code = code | |
| 11 self.stdout = stdout | |
| OLD | NEW |