diff options
author | Todd Willey <todd@ansolabs.com> | 2010-07-26 15:01:42 -0400 |
---|---|---|
committer | Todd Willey <todd@ansolabs.com> | 2010-07-26 15:01:42 -0400 |
commit | d6e74751fa156f3879ff2136caccf2a40d4b9e8c (patch) | |
tree | bcd57bf0efe0ee01df1cba1eddc7a3db79a522c5 /nova/exception.py | |
parent | 17096b0eef78680164746303d65f9f9a50a91562 (diff) | |
download | nova-d6e74751fa156f3879ff2136caccf2a40d4b9e8c.tar.gz nova-d6e74751fa156f3879ff2136caccf2a40d4b9e8c.tar.xz nova-d6e74751fa156f3879ff2136caccf2a40d4b9e8c.zip |
Basic standup of SessionToken model for shortlived auth tokens.
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 2108123de..52497a19e 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -47,6 +47,9 @@ class NotAuthorized(Error): class NotEmpty(Error): pass +class Invalid(Error): + pass + def wrap_exception(f): def _wrap(*args, **kw): try: |