comparison src/core/exceptions.py @ 639:99eee75ec1b7

core: better handling of profile_key and don't write the param file anymore - new error ProfileNotSetError and some methods use the default @NONE@ instead of @DEFAULT@ - do not output the .sat/param file anymore, it is not needed and created confusion - plugin XEP-0054: remove an error message at startup
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 21:03:52 +0200
parents 694f118d0cd5
children e07afabc4a25
comparison
equal deleted inserted replaced
638:6821fc06a324 639:99eee75ec1b7
21 class ProfileUnknownError(Exception): 21 class ProfileUnknownError(Exception):
22 pass 22 pass
23 23
24 24
25 class ProfileNotInCacheError(Exception): 25 class ProfileNotInCacheError(Exception):
26 pass
27
28
29 class ProfileNotSetError(Exception):
30 """
31 This error raises when no profile has been set (value @NONE@ is found, but it should have been replaced)
32 """
26 pass 33 pass
27 34
28 35
29 class NotConnectedProfileError(Exception): 36 class NotConnectedProfileError(Exception):
30 pass 37 pass