summaryrefslogtreecommitdiff
path: root/openstack_auth/exceptions.py
diff options
context:
space:
mode:
authorRob Cresswell <robert.cresswell@outlook.com>2017-07-11 14:19:57 +0100
committerRob Cresswell <robert.cresswell@outlook.com>2017-09-27 12:06:57 +0100
commite3e5812b1941ba689849630a0f6e5ffd7f598e1c (patch)
tree4516266b6ba69d3ce34b399a22de1cd938db9f3b /openstack_auth/exceptions.py
parentfc3f3195ec7a8510dc6720a257dabf33ad5449a2 (diff)
downloadhorizon-e3e5812b1941ba689849630a0f6e5ffd7f598e1c.tar.gz
Add Django OpenStack Auth to Horizon
Moves Django OpenStack Auth content to Horizon, since they are so tightly coupled. This cleans up the development workflow and should make keystone / auth related contributions easier. Implements: blueprint merge-openstack-auth Change-Id: Ia1cdc47bad1ca6e633073a9f9445b0c7f70d05bc
Diffstat (limited to 'openstack_auth/exceptions.py')
-rw-r--r--openstack_auth/exceptions.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/openstack_auth/exceptions.py b/openstack_auth/exceptions.py
new file mode 100644
index 000000000..37bbaf5b1
--- /dev/null
+++ b/openstack_auth/exceptions.py
@@ -0,0 +1,17 @@
+# 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.
+
+
+class KeystoneAuthException(Exception):
+ """Generic error class to identify and catch our own errors."""
+ pass