comparison src/core/exceptions.py @ 1052:e88bff4c8b77

core (XMPP): sendMessage refactoring: - better separation of message sending actions - use of more generic exceptions to hook the behaviour (SkipHistory and CancelError) - use of raise instead of return - use of failure.trap
author Goffi <goffi@goffi.org>
date Sat, 07 Jun 2014 16:35:29 +0200
parents 15f43b54d697
children f8a8434dbac7
comparison
equal deleted inserted replaced
1051:854880a31717 1052:e88bff4c8b77
90 pass 90 pass
91 91
92 92
93 class PasswordError(Exception): 93 class PasswordError(Exception):
94 pass 94 pass
95
96 class SkipHistory(Exception): # used in MessageReceivedTrigger to avoid history writting
97 pass