mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-06 20:16:47 +00:00
init version 2
This commit is contained in:
8
nonebot/exception.py
Normal file
8
nonebot/exception.py
Normal file
@ -0,0 +1,8 @@
|
||||
class BlockedException(Exception):
|
||||
"""Block a message from further handling"""
|
||||
pass
|
||||
|
||||
|
||||
class RejectedException(Exception):
|
||||
"""Reject a message and return current handler back"""
|
||||
pass
|
Reference in New Issue
Block a user