change Matcher class

This commit is contained in:
yanyongyu
2020-05-05 16:11:05 +08:00
parent 06b7ef2a45
commit 761d725aed
4 changed files with 265 additions and 73 deletions

View File

@ -1,8 +1,13 @@
class BlockedException(Exception):
"""Block a message from further handling"""
class PausedException(Exception):
"""Block a message from further handling and try to receive a new message"""
pass
class RejectedException(Exception):
"""Reject a message and return current handler back"""
pass
class FinishedException(Exception):
"""Finish handling a message"""
pass