nonebot2/nonebot/exception.py

9 lines
198 B
Python
Raw Normal View History

2020-05-02 20:03:36 +08:00
class BlockedException(Exception):
"""Block a message from further handling"""
pass
class RejectedException(Exception):
"""Reject a message and return current handler back"""
pass