blob: 4cbf831e765c5361dcacc4253521a86abab704c0 [file] [log] [blame]
# -*- coding: utf-8 -*-
# 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