diff options
author | Joshua Harlow <harlowja@gmail.com> | 2013-09-06 23:46:27 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2013-09-06 23:46:27 -0700 |
commit | e058913486519c2a9e036aad95f6e029dbc89966 (patch) | |
tree | de61cb4024d9d9359f91090684684c15a077e84b /cloudinit/exceptions.py | |
parent | c3e070de802ebc0f44722d4238f5447b93cc9fac (diff) | |
download | vyos-cloud-init-e058913486519c2a9e036aad95f6e029dbc89966.tar.gz vyos-cloud-init-e058913486519c2a9e036aad95f6e029dbc89966.zip |
Add jsonschema for namespaced and verifiable module
configuration checking as well as make most of the
module logic happen in the module itself instead of
interacting with the distro object.
Diffstat (limited to 'cloudinit/exceptions.py')
-rw-r--r-- | cloudinit/exceptions.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cloudinit/exceptions.py b/cloudinit/exceptions.py new file mode 100644 index 00000000..c09d15b1 --- /dev/null +++ b/cloudinit/exceptions.py @@ -0,0 +1,21 @@ +# vi: ts=4 expandtab +# +# Copyright (C) 2013 Yahoo! Inc. +# +# Author: Joshua Harlow <harlowja@yahoo-inc.com> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 3, as +# published by the Free Software Foundation. +# +# 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, see <http://www.gnu.org/licenses/>. + + +class FormatValidationError(Exception): + pass |