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
This commit is contained in:
parent
09619e6723
commit
ad973c6a2c
1 changed files with 34 additions and 16 deletions
|
|
@ -33,16 +33,16 @@ class ProfileNotSetError(Exception):
|
|||
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue