comparison 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
comparison
equal deleted inserted replaced
1623:ec48b35309dc 1624:7e749e8eefd0
31 This error raises when no profile has been set (value @NONE@ is found, but it should have been replaced) 31 This error raises when no profile has been set (value @NONE@ is found, but it should have been replaced)
32 """ 32 """
33 pass 33 pass
34 34
35 35
36 class ConnectedProfileError(Exception): 36 class ProfileConnected(Exception):
37 """This error is raised when trying to delete a connected profile.""" 37 """This error is raised when trying to delete a connected profile."""
38 pass 38 pass
39 39
40 40
41 class NotConnectedProfileError(Exception): 41 class ProfileNotConnected(Exception):
42 pass 42 pass
43 43
44 44
45 class ProfileKeyUnknownError(Exception): 45 class ProfileKeyUnknown(Exception):
46 pass 46 pass
47 47
48 48
49 class UnknownEntityError(Exception): 49 class UnknownEntityError(Exception):
50 pass 50 pass