Mercurial > libervia-backend
diff src/core/exceptions.py @ 1624:7e749e8eefd0
core: fixed launchAction:
- getClient now raise a NotFound error if client is not available
- errors ConnectedProfileError, NotConnectedProfileError anf ProfileKeyUnknownError renamed for consistency (all profile error must prefixed by Profile)
- launchAction fixed, the case where client is not available is handled
- kept actions are actuall1y removed on launchAction
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 18 Nov 2015 11:06:24 +0100 |
parents | b57b4683dc33 |
children | d80ccf4bf201 |
line wrap: on
line diff
--- a/src/core/exceptions.py Tue Nov 17 21:29:03 2015 +0100 +++ b/src/core/exceptions.py Wed Nov 18 11:06:24 2015 +0100 @@ -33,16 +33,16 @@ pass -class ConnectedProfileError(Exception): +class ProfileConnected(Exception): """This error is raised when trying to delete a connected profile.""" pass -class NotConnectedProfileError(Exception): +class ProfileNotConnected(Exception): pass -class ProfileKeyUnknownError(Exception): +class ProfileKeyUnknown(Exception): pass