nonebot2/nonebot/exception.py
2020-05-05 16:11:05 +08:00

14 lines
313 B
Python

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