diff options
author | Stef T <stelford@internap.com> | 2012-10-05 21:18:43 -0400 |
---|---|---|
committer | Stef T <stelford@internap.com> | 2012-10-06 16:41:36 -0400 |
commit | a225624a67825e8be430350221073c43f90e97e4 (patch) | |
tree | 1e47408617441992315835f73f9cda88761dd8ef /keystone/exception.py | |
parent | 1262a07277468dd48ba2167849fecf4c4766784b (diff) | |
download | keystone-a225624a67825e8be430350221073c43f90e97e4.tar.gz keystone-a225624a67825e8be430350221073c43f90e97e4.tar.xz keystone-a225624a67825e8be430350221073c43f90e97e4.zip |
Unparseable endpoint URL's should raise friendly error
fixes bug #1058494
Change-Id: Id89c530e2f4e7dcf0db03515afb8b2a85fbf8077
Diffstat (limited to 'keystone/exception.py')
-rw-r--r-- | keystone/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keystone/exception.py b/keystone/exception.py index f559fec1..c3b3ec82 100644 --- a/keystone/exception.py +++ b/keystone/exception.py @@ -123,6 +123,10 @@ class UnexpectedError(Error): title = 'Internal Server Error' +class MalformedEndpoint(UnexpectedError): + """Malformed endpoint URL (see ERROR log for details): %(endpoint)s""" + + class NotImplemented(Error): """The action you have requested has not been implemented.""" code = 501 |