nonebot2/nonebot/exception.py

14 lines
313 B
Python
Raw Normal View History

2020-05-05 16:11:05 +08:00
class PausedException(Exception):
"""Block a message from further handling and try to receive a new message"""
2020-05-02 20:03:36 +08:00
pass
class RejectedException(Exception):
"""Reject a message and return current handler back"""
pass
2020-05-05 16:11:05 +08:00
class FinishedException(Exception):
"""Finish handling a message"""
pass