blob: 761e5148413af6dd984d3d602e7b80da5d0f5fe0 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Module containing update exceptions."""
class UpdateException(Exception):
"""Exception thrown when _UpdateImage or _UpdateUsingPayload fail."""
def __init__(self, code, output):
super(UpdateException, self).__init__(output)
self.code = code
self.output = output