diff options
| author | lijing <lijing@gohighsec.com> | 2016-11-11 17:57:10 +0800 |
|---|---|---|
| committer | Jeremy Liu <liujiong@gohighsec.com> | 2016-11-12 23:27:45 +0800 |
| commit | f6a525ed85fa31d05c1450e936a2dd3d20a77be6 (patch) | |
| tree | de118120454b636d9eb1324c897955d8dc79eb34 /kolla/exception.py | |
| parent | dbb0ade6d1e314b21de380667b6228d64db87973 (diff) | |
| download | kolla-f6a525ed85fa31d05c1450e936a2dd3d20a77be6.tar.gz kolla-f6a525ed85fa31d05c1450e936a2dd3d20a77be6.zip | |
Extract kolla exceptions into a single exception.py file
Change-Id: I03388360b6ac735d5a6f380a7956cd91ab449131
Diffstat (limited to 'kolla/exception.py')
| -rw-r--r-- | kolla/exception.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kolla/exception.py b/kolla/exception.py new file mode 100644 index 000000000..a495ba844 --- /dev/null +++ b/kolla/exception.py @@ -0,0 +1,29 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Kolla exception subclasses""" + + +class KollaDirNotFoundException(Exception): + pass + + +class KollaUnknownBuildTypeException(Exception): + pass + + +class KollaMismatchBaseTypeException(Exception): + pass + + +class KollaRpmSetupUnknownConfig(Exception): + pass |
