mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 07:06:56 +08:00
18 lines
362 B
Python
18 lines
362 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
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
|