nonebot2/nonebot/exception.py
2020-05-02 20:03:36 +08:00

9 lines
198 B
Python

class BlockedException(Exception):
"""Block a message from further handling"""
pass
class RejectedException(Exception):
"""Reject a message and return current handler back"""
pass