Mercurial > libervia-backend
comparison src/core/exceptions.py @ 893:308a96bc7c1b
core, frontends: add method asyncDeleteProfile, remove synchronous methods createProfile and deleteProfile
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 03 Mar 2014 09:59:10 +0100 |
parents | c2f6ada7858f |
children | e1842ebcb2f3 |
comparison
equal
deleted
inserted
replaced
892:58107179cd97 | 893:308a96bc7c1b |
---|---|
28 | 28 |
29 class ProfileNotSetError(Exception): | 29 class ProfileNotSetError(Exception): |
30 """ | 30 """ |
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 | |
34 | |
35 | |
36 class ConnectedProfileError(Exception): | |
37 """This error is raised when trying to delete a connected profile.""" | |
33 pass | 38 pass |
34 | 39 |
35 | 40 |
36 class NotConnectedProfileError(Exception): | 41 class NotConnectedProfileError(Exception): |
37 pass | 42 pass |