diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-14 21:31:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 10:42:29 +0000 |
commit | 808c70b81de5c3cfc3dcb01f08213e2ea33b7252 (patch) | |
tree | cb3bd5e84ccdfc260d77d49f38aaca6cbbbc47d0 /scripts/lib/wic/errors.py | |
parent | 8fdceeee99c3fc60649414b39933ec295c810e6b (diff) | |
download | openembedded-core-808c70b81de5c3cfc3dcb01f08213e2ea33b7252.tar.gz openembedded-core-808c70b81de5c3cfc3dcb01f08213e2ea33b7252.tar.bz2 openembedded-core-808c70b81de5c3cfc3dcb01f08213e2ea33b7252.zip |
wic: move errors module
Moved from lib/wic/utils/ to lib/wic as this is a core module.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic/errors.py')
-rw-r--r-- | scripts/lib/wic/errors.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/lib/wic/errors.py b/scripts/lib/wic/errors.py new file mode 100644 index 0000000000..d1b514dd9d --- /dev/null +++ b/scripts/lib/wic/errors.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python -tt +# +# Copyright (c) 2007 Red Hat, Inc. +# Copyright (c) 2011 Intel, Inc. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation; version 2 of the License +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +class WicError(Exception): + pass + +class CreatorError(WicError): + pass + +class Usage(WicError): + pass + +class ImageError(WicError): + pass |